Lazy Bastard
03-20-2003, 06:10 PM
I'm attempting to create a flash movie that waits for the user to click a button before actually playing; this should be incredibly simple, but it seems I'm missing something. I've created the button and all parts of it correctly (as far as I can tell), and placed an instance of it on the first frame. Then I've given it the action
on (release) {
gotoAndPlay(9);
as it seems the button instance takes up the first eight frames. In order to make the movie stop to wait for the user to click the button, I used a simple
stop();
This causes the movie to stop (as I intended it to do), but for some reason, the button doesn't work. If I take stop(); out, the movie starts at the button instance, and just keeps playing as if that was just a part of the movie.
So basically, what I'm wondering is...do I need to do something else (instead of stop();) to make the movie wait for the button to be clicked and released, or have I somehow screwed up the actionscript needed for the button to work?
Or...would you need any other information to better answer the question?
on (release) {
gotoAndPlay(9);
as it seems the button instance takes up the first eight frames. In order to make the movie stop to wait for the user to click the button, I used a simple
stop();
This causes the movie to stop (as I intended it to do), but for some reason, the button doesn't work. If I take stop(); out, the movie starts at the button instance, and just keeps playing as if that was just a part of the movie.
So basically, what I'm wondering is...do I need to do something else (instead of stop();) to make the movie wait for the button to be clicked and released, or have I somehow screwed up the actionscript needed for the button to work?
Or...would you need any other information to better answer the question?