Hi,
I'm trying to load some URLs from a XML file.
The .fla, .swf and .xml files are all located on my desktop.

My code for loading the XML is:
Code:
url = new Array();
function loadXML(loaded) {
	if (loaded) {
		for (zx=0; zx<this.firstChild.childNodes.length; zx++) {
		url[zx] =  this.firstChild.childNodes[zx].childNodes[0].firstChild.nodeValue;
		}
	}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("urls.xml");
The error the outputs is:
Error opening URL "file:///C|/Documents%20and%20Settings/User/Desktop/undefined"
My XML file name is urls.xml .

The file itself appears to be loading because 2 URLs show up, while 1 does not. I have a total of 3 URLs in the .xml file.



What am I doing wrong?
Thanks in advance.