View Full Version : Problem to jump to another scene with buttons
arjun
12-04-2001, 11:48 AM
i'm using movie clip which also have buttons in that movie clip and now i want to use these buttons to jump to another scene. but it is not working.
the swf is attached with this post. and when we runs, a menu card will appear there and i want to jump to another scene with buttons of menu..
you need to attach this action to the buttons.
on (release) {
gotoAndPlay ("Scene 2", 1);
}
the above example would play scene 2, from frame 1 on the timeline.
change the scene number depending on which scene you want that button to forward you to
cheers
BLEEDA
pigghost
12-04-2001, 05:26 PM
Hi arjun...since your buttons are in a movieClip the easiest way to do this is to put a frameLabel on the first frame of the scene you want to go to....make it something unique for each scene...
...then on your button in the movieClip put this action...
on (release) {
_root.gotoAndPlay("frameLabel");
}
...of course replace "frameLabel" with the label you put on the frame...
...no need to call the scene name, just the frameLabel...
Hope this helps...
-pigghost-
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.