A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: play next frame in the current scene then go to play other scene

  1. #1
    Junior Member
    Join Date
    May 2002
    Posts
    2
    Hello !! Everybody

    I'm minny. I'm the new one who use flash ^_^

    I don't know how to write this action scirpt about to play next scene -_-

    How can i do ??? In the scene 1, when push the button (that it is menu), i want it play next frame in the current scene and then it go to play in the frame 1 in other scene. I have 5 menu, Each menu in their scene. How can i write this script ???

    Help me please...eeee
    Thank you :-)

  2. #2
    Senior Member
    Join Date
    Apr 2000
    Location
    Minneapolis
    Posts
    2,127
    do you know which frame will be the next frame?
    If so you could put this on the buttons

    on (release) {
    _root.MenuItem = "MenuItem1";
    _root.nextFrame ();
    }

    changing the value in "" for each button

    then in the nextframe have an actionscript that says

    _root.gotoAndPlay(MenuItem);

    in frame one of each scene have a frame label, MenuItem1 and so on.
    the movie will jump to the label whose name has been set when you press the button. Labels dont care about scenes so th emovie will jump right there.
    The labels must be unique, you can call them anything you like not just "MenuItem1" as long as the buttons match the labels.

    I have a little fla I can send if you like, if so give me an address.
    mark
    [Edited by mgason on 05-29-2002 at 02:14 PM]

  3. #3
    Junior Member
    Join Date
    May 2002
    Posts
    2
    Hello!! Mark

    A LOT OF THANKSSSSSSSSSS.... ^+^


    Thank you very muchhh for help me.
    I like to see it, please sent to me at surfgirl_yeah@hotmail.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center