This content has been marked as final. Show 3 replies
I don't think you can reverse the timeline, but you can travel the timeline in the reverse direction. What I have done in the past is to have what I usually call a mover movieclip which when needed is sent from a vacant (except for stop();) frame 1 to frame 2 which has another stop(); and an onEnterfame function that continually tells the movie I want to go backwards to move to the previous frame until it hits a destination (in your case frame 1).
I didn't realize back then that there was a method that commands that step backwards called prevFrame(). So in my case I was using gotoAndStop(_currentframe-1).
In your case you may not have to use a mover and might be able to just have this onEnterFrame as part of the main timeline, and you could use the prevFrame() method in conjunction with the nextFrame() method to travel both ways, forward and backward on the timeline, using a conditional with a simple boolean variable that changes at frame 1 and the far end to determine which method is in use.
Thanks for the replies.