title: Change scene when timer is Equal to Zero in Action Script 3
body: <p>I want to change the scene when my timer is equal to zero how can i do that
  Please help me.?</p>
  
  <pre><code>import flash.events.TimerEvent;
  
  var count:Number = 100;
  
  var myTimer:Timer = new Timer(300,count);
  myTimer.addEventListener(TimerEvent.TIMER, countdown);
  myTimer.start();
  
  function countdown(event:TimerEvent):void 
  {
      myText_txt.text = String((count)-myTimer.currentCount);
  }
  </code></pre>