It doesn't work because you use the events "On key pressed", witch is triggered only when the key starts being pressed.
What you want is "on key down" witch will be triggered as long as the key is down. You would want to keep the "On key pressed" to handle the mirroring and change in animation though.