3 Replies Latest reply on Apr 24, 2007 10:50 PM by kglad

    how to stop a tween class or continueTo

      i've created a motion with a tween class. how can i stop the "continueTo" function? and direct to a new target position?

      var t1:Object = new Tween(this, "_x", Elastic.easeOut, this._x, targetx, 5, true);
      t1.onMotionFinished = function() {
      t1.continueTo(targetx, 5);