Question

ok, im a noob, and i could use a bit of help. i have made a button. when i click on said button, i want my swf to go to (for instance) frame 82, play till frame 101, then go to frame 200 and play. however, i cannot simply put an action aty the end of 101 that sends me to 200, because i have another button which, when clicked, would go to frame 82, play to 101, then go to 150 and play, and another that does the same, then goes to 250…etc. how can i make this happen all in the buttonbs action?

thank you for your help…

To do this, set a variable within the buttons:

on(press) {
_global.option01=1
_root.myMovieClip.gotoAndPlay(82);
}

//other button:

on(press) {
_global.option02=1
_root.myMovieClip.gotoAndPlay(82);
}

//

Then, on the frame 101

if (option02==1) {
_global.option02=0;
_root.myMovieClip.gotoAndPlay(200);
}

etc.

good deal…thanks a lot