Constrain xml HALP!

I am creating an xml slideshow that will allow an inexperience user to just drop pictures in a folder with the correct names and they will show up on the slideshow, Everything works but if you drop a big picture in, it stays big, i would like to be able to make all the pictures the same size in flash but constrain the proportions in flash so the user does not have to manually change the picture, here is my code

var xml:XML;
var xmlList:XMLList;
var xmlLoader:URLLoader = new URLLoader();
var imgArray:Array = new Array();
var imageLoader1:Loader;
var imagethingy:MovieClip;
var j:Number = 0;
var p:Number = 0;

xmlLoader.load(new URLRequest(“images.xml”));
xmlLoader.addEventListener(Event.COMPLETE, xmlComplete);

function xmlComplete(event:Event) :void {
xml = XML(event.target.data);
xmlList = xml.children()
imageLoader1 = new Loader();
imageLoader1.load(new URLRequest(xmlList[0].attribute(“href”)));
imgholder1_mc.addChild(imageLoader1);
imgArray.push(imgholder1_mc);
imageLoader1.x = -100;
imageLoader1.y = -100;
resizeMe(imgholder1_mc, 70);
}

function resizeMe(mc:MovieClip, maxW:Number, maxH:Number=0, constrainProportions:Boolean=true):void{
maxH = maxH == 0 ? maxW : maxH;
mc.width = maxW;
mc.height = maxH;
if (constrainProportions) {
mc.scaleX < mc.scaleY ? mc.scaleY = mc.scaleX : mc.scaleX = mc.scaleY;
}
}

this resizeMe function only resizes the movieclip that holds it and not the image itself and you are not allowed to .width and .height a loader so this is my problem, any help would be nice