PDA

View Full Version : does anyone know how to make a 1hour count down in action script?


kevinkhan
05-14-2010, 08:55 AM
I have a dynamic text field with and instance name of timer

Does anyone know how i can write a simple action script to count down from and hour..

I need the display to look like 0 12 33 hrs min sec

ricmetal
05-17-2010, 02:04 PM
you could slow down your swf to 1fps and use an onEnterFrame to decrease the value of a variable, at the same time you divide/ multiply seconds minutes and hours.
or just google for such a code
im sure you will find a few