title: AS3.0 wait until tween has finished
body: <p>When I click my button I wish one of mc's disapear completely(first alpha changes from 1 to 0) then removeChild.</p>
  
  <pre><code>import fl.transitions.Tween;
  import fl.transitions.easing.*;
  import fl.transitions.TweenEvent;
  main.btn.addEventListener(MouseEvent.CLICK, buttonClickHandler);
  
  function buttonClickHandler(event:MouseEvent):void 
  {
  
  var aBlend = new Tween(main, "alpha", Strong.easeOut, 1, 0, 3, true);
  
  aBlend.addEventListener(TweenEvent.MOTION_FINISH, end);   //doesnt work
  }
  function end()
  {
      this.removeChild(mc);
  }
  </code></pre>
  
  <p>I dicided to use events but it doesnt work, can anyone help me?</p>