Checking last frame played possible?

Is it possible to check the last frame played in ActionScript?

I want to execute an animation sequence depending on what the last frame played was or where the playhead was originally just before the animation sequence.

Is this possible? is there a workaround using “_currentframe”?

Any help is appreciated!