i need help... I'm making a fighting game where you can move only left and right. With the script that i am using, it tells "legs" to gotoandplay "walkf" when the right key is pressed. In there is a movieclip that shows the legs moving. Heres my script:

onClipEvent (enterFrame) {
if (Key.isDown(key.RIGHT)) {
this._x = this._x+3;
} else if (Key.isDown(key.LEFT)) {
this._x = this._x-3;
} else {

Sometimes when you press the right key, it goes foward but the legs (Movieclip in the frame "walkf") dont move. Can I somehow stop that from happening?

Merry Christmas!