Display random image Onload from XML


Cello posted an excellent example of resizing a border around an image when a thumbnail is clicked: http://www.kirupaforum.com/forums/showthread.php?s=&threadid=51430

My question isn’t directly related to a random image or xml but I’m using it in my example. I really want to know how to load an image when the swf file loads. Please have a look at my example and you’ll see what is wrong. It’s a little funky resizing the border at the moment when the file is loaded.

I appreciate the help. Cheers,