Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jul 2008
    Posts
    3
    Member #
    17004
    hiya everyone, im new to this forum and to webdesign, im in need of some help as i have to design a website in flash cs3 for my referral work at uni :-( and i dont have a clue how to do it, it just really confuses me!!

    anyway i need to know how to make my button named "Enter" on my first "page" link to the next "page" when you click on it which will become my home page i have searched for the answer on the net but nothing seems to work and i know i prob not doin it rite!

    when i have tried to play the movie it all carries on, i know stop() stops the scene but i need to then make the button carry it on to the next scene

    please help me someone im struggling!!

    thnks sam

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    How do you mean carry it on to the next scebne?

    From your post I think you want to click the "Enter" button. Upon clicking this you want your flash movie to move to the next screen, correct?

    If so all you need to do is select the button (the Enter button) and in the ActionScript panel type in code to go to the correct frame. Something like
    Code:
    on (release)
      {
        gotoAndPlay(15);
      }
    Where 15 is the starting frame of your second "page".

  4. #3
    Junior Member
    Join Date
    Jul 2008
    Posts
    3
    Member #
    17004
    it doesnt work, just carries on playin through to the next page,

    1180: Call to a possibly undefined method on.

  5. #4
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    The space in between the on and (release) might be confusing Flash. I am not a big flash developer but try

    Code:
    on(release)
      {
        gotoAndPlay(15);
      }
    Or, if there is a way to definetely tell that the release event fired (such as a popup/confirmation box, or some type of debugger) check to see the event is fired.

    That code should set the frame in view to frame 15. Make sure you change 15 to the correct number.

  6. #5
    Junior Member
    Join Date
    Jul 2008
    Posts
    3
    Member #
    17004
    its stil not workin, do i have to do anything to the button b4 i add a code?
    you probs think im stupid lol but i dont get all this coding stuff!

  7. #6
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    What do you mean by its not working? I cannot read your mind!

    Like I said, the first step is to confirm that the button release event is being fired.

    Heres the steps involved.

    1: Select Frame 1 of the layer with the Enter Button
    2: Select the Enter button
    3: In the ActionScript Panel type in the code above
    4: Play the movie. Clicking on the button should change the frame.

    I would suggest referring to a book if you are still having trouble.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:59 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com