# Resetting Flash

**URL:** <https://forum.kirupa.com/t/resetting-flash/260558>\
**Category:** flash\
**Created:** [May 16, 2008, 6:49pm UTC](https://forum.kirupa.com/t/resetting-flash/260558 "2008-05-16T18:49:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivaretro](https://avatars.discourse-cdn.com/v4/letter/v/a3d4f5/32.png) [@vivaretro](https://forum.kirupa.com/u/vivaretro)\
**Post date:** [May 16, 2008, 6:49pm UTC](https://forum.kirupa.com/t/resetting-flash/260558/1 "2008-05-16T18:49:16Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Rezmason](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rezmason/32/30447_2.png) [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Post date:** [May 16, 2008, 8:06pm UTC](https://forum.kirupa.com/t/resetting-flash/260558/2 "2008-05-16T20:06:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![vivaretro](https://avatars.discourse-cdn.com/v4/letter/v/a3d4f5/32.png) [@vivaretro](https://forum.kirupa.com/u/vivaretro)\
**Post date:** [May 19, 2008, 6:58pm UTC](https://forum.kirupa.com/t/resetting-flash/260558/3 "2008-05-19T18:58:35Z")

</div>

Thanks!
