# Interactive animation using the keypress event

**URL:** <https://forum.kirupa.com/t/interactive-animation-using-the-keypress-event/70536>\
**Category:** Uncategorized\
**Created:** [November 15, 2004, 5:21am UTC](https://forum.kirupa.com/t/interactive-animation-using-the-keypress-event/70536 "2004-11-15T05:21:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BettyBoop](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@BettyBoop](https://forum.kirupa.com/u/BettyBoop)\
**Post date:** [November 15, 2004, 5:21am UTC](https://forum.kirupa.com/t/interactive-animation-using-the-keypress-event/70536/1 "2004-11-15T05:21:45Z")

</div>

I am an animator and I dont know anything about flash scripting. I want to do an interactive animation using the keyboard keys but I don’t know how to program it.  
It should be something like this:

on keypress A  
open animationA.swf  
on keypress B  
open animationB.swf  
–and this for all the letters.  
If somebody can tell me how I should do this that would be great  
Thanks
