Resizing prob

Hey, I had some help on here the other day from kode regarding getting a bunch of jpegs onto a photo gallery…he helped out by getting the right php code needed to just plop a ton of jpegs on my site, and ppl can view them. But I can’t figure out how to resize. Somewhere in the code on the tut is resizing info…I can’t find it though. Any help would be great. Here’s the code from the tut…and then I’ll post what kode gave me…I just want to find the diff.

Thanks


_root.contents.pathToPics = "pics/";
// fill _root.contents array with your pics
_root.contents.pArray = ["ad1.jpg", "photo9.jpg"];
_root.contents.fadeSpeed = 20;
_root.contents.pIndex = 0;
// MovieClip methods ----------------------------------
// d=direction; should 1 or -1 but can be any number
// loads an image automatically when you run animation
loadMovie(_root.contents.pathToPics+_root.contents.pArray[0], _root.contents.photo);
MovieClip.prototype.changePhoto = function(d) {
	_root.contents.error.text = "";
	// make sure pIndex falls within pArray.length
	_root.contents.pIndex = (_root.contents.pIndex+d)%_root.contents.pArray.length;
	if (_root.contents.pIndex<0) {
		_root.contents.pIndex += _root.contents.pArray.length;
	}
	_root.contents.onEnterFrame = fadeOut;
};
MovieClip.prototype.fadeOut = function() {
	if (_root.contents.photo._alpha>0) {
		_root.contents.photo._alpha -= _root.contents.fadeSpeed;
	} else {
		_root.contents.loadPhoto();
	}
};
MovieClip.prototype.loadPhoto = function() {
	// specify the movieclip to load images into
	var p = _root.contents.photo;
	// ------------------------------------------
	p._alpha = 0;
	p.loadMovie(_root.contents.pathToPics+_root.contents.pArray[_root.contents.pIndex]);
	_root.contents.onEnterFrame = loadMeter;
};
MovieClip.prototype.loadMeter = function() {
	var i, l, t;
	l = _root.contents.photo.getBytesLoaded();
	t = _root.contents.photo.getBytesTotal();
	if (t<=-1) {
		_root.contents.error.text = "Could not find file "+_root.contents.pArray[_root.contents.pIndex]+" in folder "+_root.contents.pathToPics+".";
		delete _root.contents.onEnterFrame;
	}
	if (t>0 && t == l) {
		_root.contents.onEnterFrame = fadeIn;
	}
};
MovieClip.prototype.fadeIn = function() {
	if (_root.contents.photo._alpha<100-_root.contents.fadeSpeed) {
		_root.contents.photo._alpha += _root.contents.fadeSpeed;
	} else {
		_root.contents.photo._alpha = 100;
		_root.contents.onEnterFrame = null;
	}
};