title: AS3 pausing, different durations
body: <p>Here is the code I am using:</p>
  
  <pre><code>import flash.utils.Timer;
  import flash.events.TimerEvent;
  
  //Pausing the timeline
  function wait(){
      stop();
      var timer:Timer=new Timer(2000,1);
      timer.addEventListener(TimerEvent.TIMER,waitdone);
      timer.start();
  }
  function waitdone(e:TimerEvent){
      e.currentTarget.removeEventListener(TimerEvent.TIMER,waitdone);
      play();
  }
  </code></pre>
  
  <p>When I call the following function, it pauses for 2 seconds, easy. What I can't figure out to do is call <code>wait();</code> and add another second onto it to get 3 seconds rather than two.</p>
  
  <p>Is there an easy way of doing this?</p>