PDA

View Full Version : skip intro button



runa
04-08-2005, 03:09 PM
Hi,

I'm having a little difficulty adding a skip intro button. I have a fla movie that's 132 frames in total. Frame 132 contains a movieclip that plays another movie. So basically frame 1 through 131 is an intro. So I'm trying to add a Skip Intro button on the first frame so users can bypass and go directly to frame 132.

I made a Skip Intro button, dropped it in the first frame, and added this code to it:



on (release)
gotoAndPlay ("132")


and it doesn't work. I guess it's not that simple. Any suggestions?

NTD
04-08-2005, 03:15 PM
Hi,

Your passing the frame parameter to the gotoAndPlay method as a string..."anything inside quotes"..... is a string and parsed as pure text. Try...



on (release) {
_root.gotoAndPlay(132);
}