There is an example in the wiki that I used called "Frame, Anim, Animated."
Basically you have a image file that has multiple character movement actions and based on which buttons your are pressing, your character will display that movement. It should help you out.