Shuffle card game

Hi all! I am posting an .fla of what I am trying to do, perhaps someone can help me figure it out.

I am creating a card game, and at the end of the game if the player wants to replay the game, I want my

cards to shuffle. What I have managed so far in this demo file, is when the game starts the movie clips

are placed in certain positions on the stage, and when you press the button instead of shuffeling…all

movie clips are placed behind the other and they all move along. What I want instead is on each mouse

press, the cards to swap places and only one movie clip per place! Appreciate anyone’s wisdom!

P.s. I HAVE flash Mx…NOT…flash MX 2004.

Sounds like a job for arrays to me.

I made this for something else but i think it basically does what you are looking for.
Puts all the _x,_y values into an array, shuffles the array and then tweens to the new array values.

bingo