animation not working in this code

Hi,

This game is a work in progress; I am trying to figure out why the animation is not working… the players legs are supposed to move when walking. Any help would be greatly appreciated.