Well.. you kinda did'nt post the capx down below ^^
Also... you can make an instance variable that activates when the player is doing the required stuff for the animation to play, wait the amount of time that is needed for the animation, set the value of the instance variable to something else and it should end up fine :) Post the capx and I'll show you, or PM it to me. Or something... this is very hard since I don't have the capx but I can probably solve your problem maaaaate