Images load and shakes screen

My SWF loads external images from an XML file.

The problem is the layout shakes up and down as each image is being loaded into the grid because the images are bigger in size than the thumbnail “holder” they are being placed in. They are bigger so when you click on a thumb and the layout zooms in, the images won’t be pixelated.

I added all the images to the library of the fla file and exported in frame 1 but it didn’t solve the shaking. Preloader worked, but images were still loaded in and then shrunk down to size.

Any help or suggestions would be much appreciated.