Hi, I'm trying to learn a bit more about game making and I am making a simple survival type side scrolling shooting game.
What I have done is character movement, playing the animation of him walking when you press the side arrows, and making him flip the other way when you press the opposite direction your going....
What I would like to know is how to swap the original movie clip of him, with a movie clip of him ducking when you press down, and if you hold down and direction keys(left and right), then it plays the movie clip of him walking in the crouched position...
So basically i would like to replace the movie clip with another movie clip from the LIBRARY(I know how to export on to the stage from library) into the position where the previous movie clip was, and the old movie clip of him standing goes away, when you let go of down, he stands back up.
Code and explantion please, thank you.