Back button in Flash MX

Hello, does any one know how to create a back button in Flash MX where the button can determine the last scene the vistor visited?

Any help would be greatly appreciated.

Thanks!
Casey