PDA

View Full Version : How would I make a "Play" button?


superpaint123
01-05-2008, 06:30 AM
I want to be able to make a play button that can start a flash movie but, I don't seem to know how to script it. Could somebody please tell me?

I wrote this for the frame itself:
stop();

And I wrote this for the button:
on(press){
gotoAndPlay(nextFrame)
}

I was able to click the button when I previewed but, it wouldn't take me to the next frame when I clicked it and it just stayed on the first frame.

Don't worry I figured it out. I needed to put "2" in the brackets where it says "nextFrame".