View Full Version : countdown clock
sudzy123
08-04-2005, 11:37 AM
i want to create a 2d racing game.
well i actually know how to make barriers, but can someone tell me how to make a countdown clock which stops when the car drives over the finish line?
cheers
Paerez
08-04-2005, 03:42 PM
Check out the function "setInterval()" you could use it in combination with a text field. Then use the "clearInterval()" function to stop the countdown. You could also have a movie clip that counts down and you could tell it to stop() and play() to run the countdown. Could you be more specific as to what kinds of objects you are programming for? And how much info you have on the time?
Also, check out the "Date Class" in the ActionScript Dictionary.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.