Image loading into movieclips and set intervals combo

Hi all, im having a problem with the code below. for starters i have always been confused about how the setinterval function works. and also for some reason my images are not loading into the movie clip even without the troubles of the intervals.

any help would be fantastic!

import mx.transitions.Tween;
import mx.transitions.easing.*;

var delay = 3000;
//-----------------------
function loadXML(loaded) {
	if (loaded) {
		xmlNode = this.firstChild;		
		total = xmlNode.childNodes.length;
		for (i=0; i<total; i++) {
			image* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
			description* = xmlNode.childNodes*.childNodes[1].firstChild.nodeValue;
		}
		trace("starting slideshow");
		//myInterval = setInterval(slideshow(0), delay);
		slideshow(0);
	} else {
		trace("xml failed to load");
		//content = "file not loaded!";
	}
}
image = [];
description = [];
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("slideshow/images.xml");
var total = 0;
img.createEmptyMovieClip("img", 0);
var myInterval;

this.onEnterFrame = function() {
	filesize = picture.getBytesTotal();
	loaded = picture.getBytesLoaded();
	preloader._visible = true;
	if (loaded != filesize) {
		trace("loading");
	} else {
		preloader._visible = false;
		if (picture._alpha<100) {
			picture._alpha += 10;
		}
	}
}

function slideshow(id) {
	var alph_1:Tween = new Tween(img, "_alpha", Regular.easeIn, 100, 0, 2, true);
	alph_1.onMotionFinished = function() {
		img.loadMovie(image[id], 1);
		var alph_2:Tween = new Tween(img, "_alpha", Regular.easeIn, 0, 100, 2, true);
	}
	myInterval = setInterval(pause_slideshow(id), delay);
	
	function pause_slideshow(num) {
		trace("pause");
		//clearInterval(myInterval);
		if (num < total-1) {
			slideshow(id+1);
		} else {
			slideshow(0);
		}
	}	
}