I know the script was here somewhere last time but it got pruned. Damnit!
Anyway, could someone please post it back up again.
Cheers.
Flash timer, Pause animation then continue
Flash timer, Pause animation then continue
|
|
Dec 21 2005, 04:21 PM, updated 20y ago
Show posts by this member only | Post
#1
|
|
Elite
4,210 posts Joined: Jan 2003 From: Malaysia |
I know the script was here somewhere last time but it got pruned. Damnit!
Anyway, could someone please post it back up again. Cheers. |
|
|
|
|
|
Dec 21 2005, 04:33 PM
Show posts by this member only | Post
#2
|
|
Elite
4,210 posts Joined: Jan 2003 From: Malaysia |
nvm.. just found a neat one Ultrashock.
CODE var counter:Number = 10; var intervalID:Number = setInterval(updateTimer, 1000); // 1000ms = 1 sec function updateTimer() { if(counter<=0) { trace("time up!"); clearInterval(intervalID); play(); } else { trace("coundown: "+counter--); } updateAfterEvent(); } it even tells you the countdown in the Output window. great for checking. cheers. |
|
|
Dec 22 2005, 01:50 PM
Show posts by this member only | Post
#3
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,687 posts Joined: Jan 2003 From: Sue Bunk Jai Yaa! |
can i see ani demo?
|
|
|
Dec 22 2005, 02:39 PM
Show posts by this member only | Post
#4
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
4,967 posts Joined: Jan 2003 From: somewhere, far far away |
i think that was posted by me, here's the code again
put on the first frame CODE function startPlay () { play(); } put on the frame u want to pause CODE //pause the movie clearInterval( quitID ); stop(); //play movie var quitID; quitID = setInterval(startPlay, 30000); trace(quitID); |
|
|
Dec 22 2005, 07:20 PM
Show posts by this member only | Post
#5
|
|
Elite
4,210 posts Joined: Jan 2003 From: Malaysia |
|
| Change to: | 0.0142sec
0.29
6 queries
GZIP Disabled
Time is now: 25th November 2025 - 04:23 AM |