View Full Version : help please
cheezewhip5
July 17th, 2002, 04:42 PM
how do i make it so that the animation stops and shows a button that you have to click to continue?
telekinesis
July 17th, 2002, 04:50 PM
Well if you want the movie to stop on a frame put this:
-----------
stop();
-----------
And on the button that continues the movie:
-----------
on(release) {
play();
}
-----------
cheezewhip5
July 17th, 2002, 06:30 PM
when i test the movie, it says this:
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Statement must appear within on handler
stop ();
Generator is not enabled for this movie. c:\windows\TEMP\Movie11.swf
telekinesis
July 17th, 2002, 06:36 PM
That happened because you put the stop(); action on a button or movie clip instead of on the Flash time line. Take it off the button or movie clip and then place it on the exact frame that you want it to stop at by using the timeline at the top of the macromedia flash program.
cheezewhip5
July 17th, 2002, 11:37 PM
i'm VERY sorry, but i still don't get it....where would i place the actions?
telekinesis
July 17th, 2002, 11:51 PM
Those little white boxes in the right of this picture are the frames...right click on the frame you want to stop and Click the menu button called 'Actions' then place the stop action in that window:
stop();
http://www.kirupa.com/developer/actionscript/images/preloa1.gif
And make a button and place it on the same frame and right click the botton and chose actions again and put this code in the window:
on(release) {
play();
}
cheezewhip5
July 18th, 2002, 12:25 AM
oh..... ok now i get it! haha, thank you very much, and i'm sorry for the trouble :)
telekinesis
July 18th, 2002, 12:38 AM
Don't worry, its what I am here for!
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.