title: replay btn in flash cs6 using actionscript 3 is not behaving correctly
body: <p>I have a flash animation that using action script at the end to stop the animation and has a button for the user to click and replay at the animation. When they click and replay the animation the last scenes that were on the screen don't disappear as the animation restarts. My button has an instance name of replay_btn. Any suggestions?</p>
  
  <p>my action script code is </p>
  
  <pre><code>  stop();
  
      import flash.events.MouseEvent; function onClick(event:MouseEvent):void {  gotoAndPlay(1); } replay_btn.addEventListener(MouseEvent.CLICK, onClick);
  </code></pre>
  
  <p>This has been answered now. It seem like there was a bug in flash causes the last scenes to hang while replay the start of the animation. The workaround was to make the replay button go forward one frame to a blank white frame and then direct it back to the start.</p>