0 Replies Latest reply on Jun 26, 2008 3:00 AM by chrisatflash

    Tween.. strange behaviour when it's finished.

    chrisatflash Level 1
      Hello, did anyone expercienced this:

      I have some buttons that initialize a tween effect, with an onRollover and an RollOut.

      The rollOver is:

      var TweenSubMenu:Tween = new Tween(currMovie, "_y", Strong.easeOut, 0, EindposY, 1, true);

      and the Roll Out is:

      var TweenSubMenu:Tween = new Tween(currMovie, "_y", Strong.easeOut, currMovie._y, 0, 2, true);

      Now what is strange is that when the ween moves down (roll Over) that at the end of it's tween
      is suddenly jumps to it's original _y position?

      This only happens when you set the time for the rollout to 2 seconds. If you set it also to 1 second it works just fine.

      Does anyone know what happens here?

      Regards,

      Micheal