Question on Create a Photo Gallery tutorial

Hi, If I have photo’s with different widths what is the action script to center them in on the stage during the slide show?

thanks for all the help, Ive been slowly working through all the lessons and they are getting me work!