Photo Gallery Using XML and Flash Tutorial Question

I was going through the Kirupa tutorial on this and was wondering if there was a way to change the center location where the image loads. Right now the images load with the top left corner being the point of loading, which would work if I was using just hozizontal images but when loading vertical images, things don’t line up. So, my question is there a way to set it to where the loading point is the center of the image, so either vertical and horizontal images load in the same area. Thanks for the help!