# Count down timer disappearing

**URL:** <https://forum.kirupa.com/t/count-down-timer-disappearing/331966>\
**Category:** flash\
**Created:** [December 10, 2013, 5:22am UTC](https://forum.kirupa.com/t/count-down-timer-disappearing/331966 "2013-12-10T05:22:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eddie\_E](https://avatars.discourse-cdn.com/v4/letter/e/2acd7d/32.png) [@Eddie\_E](https://forum.kirupa.com/u/Eddie_E)\
**Post date:** [December 10, 2013, 5:22am UTC](https://forum.kirupa.com/t/count-down-timer-disappearing/331966/1 "2013-12-10T05:22:48Z")

</div>

Hi, I have a simple count down timer script I found online which works but my game has 6 parts and each part is using a different movieclip. If I only use 1 movieclip the timer works. When I add the next part (movieclip) it disappears. Any ideas?

```auto

var count:Number = 60;
var myTimer:Timer = new Timer(1000,count);
myTimer.addEventListener(TimerEvent.TIMER, countdown);
myTimer.start();
function countdown(event:TimerEvent):void {
myText_txt.text = String((count)-myTimer.currentCount);
}
if(myText_txt.text == "0"){
      gotoAndStop("MovieEnd")
}
 

```

Thanks

Eddie
