Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pause on a frame 1

Status
Not open for further replies.

sawfish

Technical User
Apr 21, 2002
72
GB
How can I make my flash movie pause on a frame at any point throughout the movie, I know there is an extension called
'waitatframe', but is there another way of doing it?
 
add a button

on (release){
mymovie.stop();
}


to get it going again change stop() to play()
 
Are you using MX?

If so you could use setInterval.

Define the following pause function, on the first frame of your movie:

function pause(){
play();
clearInterval(timer);
}

Whenever you want to pause your movie, just add a stop(); action on a frame followed by this:

stop();
timer = setInterval(pause, 1000);
//where 1000 is 1 second or 60000, 1 minute.


Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top