Flash & XML question

Okay, I’m just learning to use flash and xml together. So, I have this AS now:


var my_xml = new XML();
my_xml.ignoreWhite = true;
my_xml.onLoad = function(success) {
	if (success) {
		setup = function () {
			i = 0;
			if (i<=2) {
				i++;
				imgName = this.firstChild.childNodes*.childNodes[0].firstChild.nodeValue;
				imgPath = this.firstChild.childNodes*.childNodes[1].firstChild.nodeValue;
				trace(imgName);
				trace(imgPath);
			} else {
				clearInterval(startSetup);
			}
			
		};
	}
};
my_xml.load("intro.xml");
startSetup = setInterval(setup, 100);

Why won’t it trace my values?