4 Replies Latest reply on Nov 15, 2008 5:17 AM by Devendran

    [CS3] 2 tweens on same event on same movieclip

    K0raX
      I need to make a movieclip go upwards (by changing y position) and then come downwards but all it does is come straight downwards simply going over the upwards tween.
      Here's the code....

      btn1.onRelease = function() {
      new Tween(this._parent.tax, "_y", Strong.easeIn, 545, 195, 20, false);
      new Tween(this._parent.tax, "_y", Strong.easeOut, 195, 545, 20, false);
      }
      new Tween(this._parent.tax, "_y", Strong.easeOut, 195, 545, 20, false);

      What's the best way to get it working?
      Thanks.