Back button that takes you to the last Scene visited

Hello Kirupa forum,

First off, i just want to say that I’m pretty much a newbie when it comes to Flash MX ActionScript.

Okay, here here’s my situation…

I just created a Flash MX document with 10 scenes.

I have included a menu that will take the user to any of the 10 scenes. Moreover, in each of these 10 scenes, I added a BACK, NEXT, and HOME button for navigation purposes.

My problem is this…

I was at ‘Scene 1’ and I wanted to jump to ‘Scene 7’, so I go to my menu and clicked on the button that would take me to ‘Scene 7’.

Okay…now that I’m at ‘Scene 7’ I want to go back to ‘Scene 1’. BUT THIS TIME I WANT TO USE MY NAVIGATION BUTTONS.

So I press the BACK button from ‘Scene 7’ and it takes me to ‘Scene 6’. (I already know why it took me to ‘Scene 6’ instead of ‘Scene 1’.) BUT, I WANTED IT TO GO BACK TO THE LAST SCENE VISITED!

So my question is this…

How do you get FLASH MX to remember which Scene you last visited?

Is there a script that I must add to force it to remember the last scene visited?

thank you Kirupaforum,
cobaltblue