title: Remove all Timer Objects from Movie AS3 Flash
body: <p>I am adding a Timer object when my flv playback enters a Pause state and removing that Timer Object when playback starts again. I noticed that if I pause the movie and then drag the slider on the timeline the movie enters the Pause State again which adds another Timer Object....</p>
  
  <p>My question: How do I check to see if the Timer has already been added and if so remove it and add a new one.</p>
  
  <p>See code below:</p>
  
  <pre><code>    my_player.addEventListener(VideoEvent.PAUSED_STATE_ENTERED, pausePlay);
      my_player.addEventListener(VideoEvent.PLAYING_STATE_ENTERED, startPlay);
  
  function pausePlay(e:VideoEvent):void {
  
       //HERE IS WERE I NEED TO REMVOVE ALL completeTimer's BEFORE ADDING ANOTHER ONE.
          completeTimer = new Timer(pause_timeout,1);
          completeTimer.addEventListener(TimerEvent.TIMER, completeListener);
          completeTimer.start();
          trace ("IN THE PAUSE LISTENER");
  }
  
  function startPlay(e:VideoEvent):void {
      completeTimer.reset();
  
  
  }
  </code></pre>