Resize images

im making a photo gallery and using the code from the tutorial

but this doesnt resize the images as they are loaded or once they are loaded.
im really new to flash and AS (less then a week) i was wondering if someone could push me in the right direction to a tutorial that has this in it or the snippit of code (i imagine its one or 2 lines)

i need to get a AS book…