did you name the animation frames correctly ? are you sure your using the exact same names in the code ?