Is there a way to store the number of the frame currently playing in actionscript, and then recall that frame number later?

Any help is appreciated.