Generating Thumbnails...but not quite

Hello, All,

I’m using an xml based slideshow. I’d like a script that would generate thumbnails for the images called into the flash file. However, here’s the kicker. I really don’t want thumbnail images. What I want are little colored squares instead of thumbnails. Basically, I want for every image to be connected to a little colored square the same way as they would be to a thumbnail. And the colors have to be random.

Does that make sense?