Skip to main content
Participant
September 8, 2006
Answered

Need pause then resume script

  • September 8, 2006
  • 2 replies
  • 315 views
Hello,

I need help with an animated banner. Basically, it's a slide show. Frame 1 displays img0, frame 20 displays img1, and so on up to img5. When I play the movie with Control->Test movie, the first img doesn't stay long enough to be seen. I would like to add some sort of pause-then-resume actionscript to frame 1. Like pause for 5 seconds then continue with the rest of the banner.

Thanks in advanced,
Hector
This topic has been closed for replies.
Correct answer
//Frame 1
stop();
id = setInterval(function(){play();clearInterval(id);},5000);

2 replies

Participant
September 8, 2006
Perfectamundo! Thank you, NSurveyor!
September 9, 2006
You're welcome.
Correct answer
September 8, 2006
//Frame 1
stop();
id = setInterval(function(){play();clearInterval(id);},5000);