Help on creating photo gallery using sbeener code

I’ve been trying to create a photo gallery using the code by sbeener and the tutorial by kirupa but I’m having problems in visualizing the photos. They don’t get resized to the movieclip dimensions. Do I have do resize all photos in a image editing program? The photos I pretend to show in the photo gallery have differente sizes (for example 784x581, 510x557, etc) and I want to show them on a movie clip with 370x240, so they have to be scaled to that size, but that’s what I don’t know how to do. Need some help:tb: . Thnks
João