Resetting Flash

I have a swf file that does several animations depending on keystrokes.
Is there a way to add a keystroke that essentially resets the flash animation?
ie: if for some reason the flash isn’t running quite right, the user can hit
‘reset’ and the code reloads and gives you a fresh start.

There’s no giant off-switch in Flash. You can implement a “reset” button or key for your own program, but if you’re trying to circumvent a bug or error, you’ll need to do it the hard way.

Thanks!