MCs appear randomly from the library and move around randomly

Hi

Onmy stage I have a MC, and when I click it a random MC from the Library should appear and move around randomly.

I’m using this to make it move around randomly http://www.kirupa.com/developer/actionscript/random_motion.htm

But I can’t figure out how to make the random MCs appear from the library.
And should I put the random moving script on each of my ten MC?

Hope somone can help.

Best regards

Jost