I've tried to add sub events tu check if the player is on or not on the ground, but it's the same.
Anyway I'll post here the .cap file:http://www.mediafire.com/?l4fzc12ysubnb6a
As I have it now the animation plays to fast because it is on 60fps try to lower the speed of the animation to 50 or even 59, it won't play.
By the way, the graphics are having some kind of problem as you might notice. Maybe you could tell me why it is doing that?