Multiplayer game

hey guys,

Happy New Year!!

please help me making tic-tac-toe game in actionscript 2.0…i want to make it as player vs. computer…am using simple graphics…9 rectangles representing movie clips in whc i have put the the dynamic texts…am jz not getting that how to make random movements of computer…if player plays 1st n next should b computer n it should make its move anywhere except the 1 where player just put X…
Thanks in advance…