6 Replies Latest reply on Oct 28, 2008 10:56 PM by kglad

    how to stop a tween in full swing?

    vinnio Level 1
      how can I stop a tween in full swing? stop won't work... (flash 8 as2)

      import mx.transitions.Tween;
      import mx.transitions.easing.*;

      var animTween:Tween = new Tween(thumbnail_mc, "_x", Strong.easeOut, thumbnail_mc._x, -menu, 50, true);

      function buttonHandler() {
      animTween.stop();
      }

      many thanks!!!