images = new Array();
xml_file = “images.xml”;
xmlload = new XML();
xmlload.ignoreWhite = true;
xmlload.onLoad = function(ok) {
if (ok) {
count = this.firstChild.childNodes.length;
for (var i = 0; i<count; i++) {
curNode = this.firstChild.childNodes*;
images* = {path:curNode.childNodes[0].firstChild.nodeValue,link:curNode.childNodes[1].firstChild.nodeValue,caption:curNode.childNodes[2].firstChild.nodeValue};
}
boot();
} else {
trace(“Could not load “+xml_file+”.”);
}
};
xmlload.load(xml_file);
I got the above code from Voets img menu, and I can get the values I want, but How can I make those sperate links as just text ?
Thanks