The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 Viewsive been trying to find a decent tutorial for the action script to a count down timer in flash, but all of the ones ive seen have been rather incomplete or just unreadable due to language barriers. If anybody has found a decent one please let me know, im fed up with trying to find one.
(attempts made: 5 bushmillion)
ive been trying to find a decent tutorial for the action script to a count down timer in flash, but all of the ones ive seen have been rather incomplete or just unreadable due to language barriers. If anybody has found a decent one please let me know, im fed up with trying to find one.
Look through As: Main you will either find a tutorial about that specific thing or find others that teach you stuff you will need to know to make one yourself.
I'll write one for you right now:
1) Put this code on the first fram of the main timeline:
stop();
_root.timermc.timer=X
// X is the amount of seconds you want the counter to be counting of from.
2) Create an empty MovieClip and open it up.
3) On the frame in the MC where exactly 1 second went by you put this code (if you're document has a framerate of 24 fps that would be on frame 24)
timer--
gotoAndPlay(1)
4) Create a "Dynamic text-box" inside the MC
5) go back to the main stage and drag the MC onto it from your library and give it the instance name: "timermc"
At 6/20/08 05:01 PM, Gatling wrote: I'll write one for you right now:
1) Put this code on the first fram of the main timeline:
stop();
_root.timermc.timer=X
// X is the amount of seconds you want the counter to be counting of from.
2) Create an empty MovieClip and open it up.
3) On the frame in the MC where exactly 1 second went by you put this code (if you're document has a framerate of 24 fps that would be on frame 24)
timer--
gotoAndPlay(1)
4) Create a "Dynamic text-box" inside the MC
5) go back to the main stage and drag the MC onto it from your library and give it the instance name: "timermc"
this is the best one yet so thanks much very very much
i could probably learn to incorporate it into a game myself