Flash Help
Flash Help
Out of context: Reply #11
- Started
- Last post
- 25 Responses
- cereals0
I hate scenes too, but thought I would just hand over the goods...
if you place the var sceneTo on the first frame of your movie.
Then place 1st on(press) [the function] on your button that you want to go to scene 2
Then place 2nd on(press) [the function] on your button that you want to go to scene 3
Then final on the frame where all the animation stops, place the last bit of code
gotoAndPlay(sceneTo, 1);
This will tell flash to go to the scene that you setup via the buttons..
- i am guessing you are using the old style button events rather than button1.onPress=function blah...