Adding Thumbnails

Hey Guys

http://www.kirupa.com/developer/mx2004/thumbnails3.htm

I am wondering how I can make the movie clip changes it size according to the photo size?

example http://www.zacharyscottphoto.com/

Also should I learn and do this in as3 or just stick with as2

Thanks

vxd