How to incorporate the loading random image into the AS preloader Tutorial?

How can I incorporate the loading a random image into this tutorial: http://www.kirupa.com/developer/actionscript/moviecliploader.htm

I’ve tried already, but can’t get it to work. Could someone tell me how to do this, by modifying the AS in that tutorial?
Thanks!