# Timer question

**URL:** https://forum.kirupa.com/t/timer-question/200122
**Category:** flash
**Created:** [September 8, 2006, 8:38pm UTC](https://forum.kirupa.com/t/timer-question/200122 "2006-09-08T20:38:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![o111](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/o111/32/2123_2.png) [@o111](https://forum.kirupa.com/u/o111)
#### Post date: [September 8, 2006, 8:38pm UTC](https://forum.kirupa.com/t/timer-question/200122/1 "2006-09-08T20:38:11Z")

</div>

Hi folks:D

Im working on a game ([link](http://img104.imageshack.us/my.php?image=gameconseptxa6.swf)) and I want to have a timer. The timer is the numbers on the top right side. The timer shall start on 0 and count 1,2,3 etc (seconds) until the player “dies”. By that I mean gets hit by an enemy or go outside the stage. So the timer will stop when you are brought to frame 2, the “game over” part.

What is a smart way of doing that?

Also… I have an enemy in my library, with it’s identifier name “enemy”. And I want to add a new enemy to the stage every 10 seconds.

Now how can I do this the best way?

thanks and…  
peace;)
