Game problems

I am making a basic game at the moment that consists of a guy that you can move left and right,I have the key control actionscript working so that when you press the left arrow key it attaches an animation of the guy walking left and the same goes for the right arrow key.

My problem is that when you press left or right both the walking animation and the clip of the guy before you press anything appears,this makes it look really daft! Does anyone know how I can make the standstill animation vanish when you press left or right and then come back when you let of the arrow keys?

Cheers

Hi,
If I have understood your post correctly, whenever you hit the left key an image of the man walking to the left is loaded, and when you hi th right key an image is loaded of the guy walking to the right - is that correct ?
If so, try having one image with three frames, in fr1 put the mc. of the guy walking left, in fr2.mc of the guy standing still, and in fr.3 mc of the guy walking right, then you just have to adjust your code to say gotAndPlay whatever frame you need to get the guy to do the right thing - does that make sense. Hope so

Cheers

SteveD