codice:
_xml.onLoad = function()
{
	var tempPath = this.firstChild.attributes.LINK.split("|");
	_root.link = tempPath[0];
	_root.targ = tempPath[1];
	for (var a = 0; a<this.firstChild.childNodes.length; a++) {
		var _trans = this.firstChild.childNodes[a].attributes.TRANSITION;
		var _pause = this.firstChild.attributes.PAUSE;
		var _img = this.firstChild.childNodes[a].firstChild.nodeValue;
		this.path._dataProvider.push({img:_img, transition:_trans, pause:_pause});
	}
	this.path.startFading();
	delete this;
};
e nel pulsante:

codice:
on (release){
	getURL(link, targ);
}