2 Replies Latest reply on Mar 18, 2007 9:13 AM by ToffeeCrisp

    Time line reverse

    ToffeeCrisp
      all i want to do is have two buttons. one that goes left and one that goes right. the left button on release i want it to play the timeline in reverse!

      is this possible? and can some one show me how!, cheers in advance!

      im using flash mx pro
        • 1. Re: Time line reverse
          charlie656
          Something like this might do the trick. If you create two mcs on stage, make sure they are exported for actionscript and call them forwardButton and backButton. Put them on a different layer from the stuff youll be viewing and paste this code into the first frame on the buttons layer

          stop();

          backButton.onRelease = function()
          {
          _root.onEnterFrame = function()
          {
          gotoAndStop(this.prevFrame());
          }
          }

          forwardButton.onRelease = function()
          {
          _root.onEnterFrame = function()
          {
          gotoAndStop(this.nextFrame());
          }
          }
          • 2. Re: Time line reverse
            ToffeeCrisp Level 1
            Just done what you said, works perfect. THANK YOU!!