1 Reply Latest reply on Oct 20, 2006 10:00 AM by TimSymons

    Reverse

    southbeachbum
      onRelease is either nextframe or previousframe. on previous, i want the animation to run backwards.

      Anybody?
        • 1. Re: Reverse
          TimSymons Level 1
          Are you doing the animation with ActionScript (using the Tween class) or is this a timeline animation?

          Tween Class: just swap the start and ending values but keep everything else the same.

          Timeline Animation:
          I saw someone post a method and they used:
          var reverse:Boolean = true;
          this.onEnterFrame = function() {
          if (reverse) {
          prevFrame();
          }
          };

          They used the buttons to change the value of reverse from true to false, depending on what they needed.

          Tim