Flash AS2: Play a certain frame of MC right after a certain arrow key is pressed?

iluvtrickywoo

New member
I'm creating a Flash "Sprite" game, and I was wondering what the AS2 code is for playing a certain frame of a MovieClip, right after one of the arrow keys is pressed. For example, if the UP arrow key is pressed and then released, frame 12 of a movie clip is played, and if the DOWN key is pressed and then released, frame 13 of a movie clip is played. How would I code that?
Does anyone have the answer? I've checked a bunch of other Flash forums and no one seems to have this question or answer anywhere.
Thank you so much for any help or suggestions you can give!!
 
Back
Top