How do you get a movieclip to do different animations based on keyboard input?
So I have my character, and I was wondering if there was a way to get him to do different animations based on keyboard input. Like if you press the right key it does the running animation, and if you press left then it just uses that same animation, and flips it. Also if the user presses space bar or something a jumping animation happens. I have all of these animations done in different parts of my characters timeline but don't know how to access different parts of the timeline. Does that make sense? I'm using Action Script 3.0, and Flash CS5.5. I'm pretty new so please be as explanatory as possible.
|