3 Replies Latest reply on Jun 20, 2006 7:44 AM by kglad

    Easing motion before it stops

    TorIRislaa Level 1
      Hi, the code below acting when I move my cursor over a button

      on (rollOver) {
      this.onEnterFrame = function () {
      this.filmstripe_mc._x += 5;
      }
      }

      ..and the code below acting when the cursor leaves the button.

      on (rollOut) {
      delete this.onEnterFrame;
      }

      Is there a way to reduce the motion until it stops instead of stopping immediately? Some kind of easeing.