-
on (release) gotoAndplay (Scene2,1); ???? applying this to a button..
im trying to add actionscript to a button to get it to go to the next scene...
my code is not working...obviusly somethings wrong
on(release) gotoAndPlay (Scene2,1);
????/
-
Senior Member
Use framelabels instead.
Give the frame you want to go to a label name and reference that.
on(release) {
_root.gotoAndPlay ("myFrameLabel");
}
It is very important to target the right timeline too. If your button is inside a movieclip you should add _root to the path to target the main timeline instead of the movieclips timelime.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|