I'm working on a project that is completely non-linear, so you can be jumping from one frame to the other, and one scene to another. I would like a button on each page that will take you back to the frame that you've just come from. Obviously, "previous frame" won't work as that just takes you to the previous frame on the timeline. How would I go about first getting Flash to record what was the last frame was, and then calling this from a button?

Thanks for your help in advance,
merkin51