The script successfully loaded the image but couldn’t make the image to become an active link with onRelease function. So I’m dropping the script here hoping somebody give me a hand on this problem…
promoXML = new XML();
promoXML.ignoreWhite = true;
promoXML.onLoad = function(success) {
if (success) {
xmlNODE = this.firstChild.childNodes;
imageURL01 = xmlNODE[0].attributes.imageURL;
thumbURL01 = xmlNODE[0].attributes.thumbURL;
promoURL01 = xmlNODE[0].attributes.linkURL;
imageURL02 = xmlNODE[1].attributes.imageURL;
promo01.loadMovie(imageURL01);
thumb01.loadMovie(thumbURL01);
promo02.loadMovie(imageURL02);
this.promo01.onRelease = function() {
getURL(promoURL01);
}
}
}
promoXML.load("promo.xml");