PDA

View Full Version : wait for x seconds on a frame



sanjay2211
February 9th, 2004, 08:40 AM
I just want to stop my timeline for 5 seconds after an animation completes.

I try with SetInterval, but i do mistake somewhere,

can anyone gives me code for this.

claudio
February 9th, 2004, 11:33 AM
Paste this on the frame:
function unpause() {
gotoAndPlay(_currentframe+1);
clearInterval(my_interval);
}
my_interval = setInterval(unpause, 5000);
stop();