# Bonus time in game

**URL:** <https://forum.kirupa.com/t/bonus-time-in-game/311027>\
**Category:** Uncategorized\
**Created:** [June 25, 2010, 1:26pm UTC](https://forum.kirupa.com/t/bonus-time-in-game/311027 "2010-06-25T13:26:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleksandar28](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@aleksandar28](https://forum.kirupa.com/u/aleksandar28)\
**Post date:** [June 25, 2010, 1:26pm UTC](https://forum.kirupa.com/t/bonus-time-in-game/311027/1 "2010-06-25T13:26:18Z")

</div>

if my timer is

```auto
var count:Number = 60;

var myTimer:Timer = new Timer(1000,count);

myTimer.addEventListener(TimerEvent.TIMER, countdown);

myTimer.start();

function countdown(event:TimerEvent):void {
    counter.text = String((count)-myTimer.currentCount);

    if(count <= 0){
        myTimer.removeEventListener(TimerEvent.TIMER, countdown);
        myTimer.stop();
        
        
    
}
if (counter.text == String("0")) {
    gotoAndPlay(1);
    }
}

```

on each good click(on specific movieclip) to add (exc. 3)secounds to timer, and if wrong(other movieclips) to take (exc. 3)secounds of timer.

I’ve tryed, (count+=3); but when i wait to time counts up, it stays on 3, without changing … any help?!

Thanks.  
Aleksandar
