# Flash & XML question

**URL:** <https://forum.kirupa.com/t/flash-xml-question/80805>\
**Category:** flash\
**Created:** [February 24, 2005, 9:42pm UTC](https://forum.kirupa.com/t/flash-xml-question/80805 "2005-02-24T21:42:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![macneilslt](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@macneilslt](https://forum.kirupa.com/u/macneilslt)\
**Post date:** [February 24, 2005, 9:42pm UTC](https://forum.kirupa.com/t/flash-xml-question/80805/1 "2005-02-24T21:42:31Z")

</div>

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

```auto

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?
