i know i'm probably making a stupid misrtake but i'm having an actionscript problem. i'm using this code
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
this._x-=3;
this.gotoAndPlay(2);
}
}
there's some more but just the same repeated for different directions. jnow the movement works perfectly so when i press left it goes left but the movie clip only goes to frame 2 and plays after i let go of the key. so it moves left then when it stops moving the movieclip runs a taking a step animation.
how do i make it run the taking the step animation at the same time as moving?