Monday, December 28, 2009

How do I play the next scene in flash with a button?

I apply 'stop' actionscript to the very first frame, then add goto and play to a button for a new scene but it stays on the stopped frame.How do I play the next scene in flash with a button?
in the buttons ';Actions';, use this code:


on(release)


{


nextFrame();


}How do I play the next scene in flash with a button?
For a button you need a 'On (release)'





Code:





on (release) {


gotoAndPlay(no); // Type in the number of the frame where it sais no


}











Also, you can't put a button in a movieclip....

No comments:

Post a Comment