Ragazzi sono disperato, non ne riesco a venire fuori.

Chi mi da una mano ?

codice:
function show() {
	onEnterFrame = function () {
		image_mc._alpha += numFadeRate;
		if (image_mc._alpha>100) {
			delete onEnterFrame;
		}
	};
}
Viene richiamata così nello script che ho:
codice:
function showRecord(recordNumber) {
	var nodeObject = xmlObject.firstChild.childNodes[recordNumber-1];
	titled = nodeObject.attributes.titled;
	description = nodeObject.attributes.description;
	media = nodeObject.attributes.media;
	slideFilename = "img/"+media+"";
		image_mc.loadMovie(slideFilename);
		onEnterFrame = function () {
			bytesLoaded = _root.image_mc.getBytesLoaded();
			if (bytesLoaded == _root.image_mc.getBytesTotal()) {
				// check if the image is loaded
				delete onEnterFrame;
				show();
			}
		};
	currentRecord = recordNumber;
	_root.man_mc.dynGo.setSelectedIndex(currentRecord-1);
}
Come faccio a modificare questa funzione in modo che parta in automatico lo slide della foto ?