:bubu: echm..
posto il punto in cui mi trovo: e non dissolve..
:quipy:codice:function displayXML() { if(_alpha < 100){ _alpha += 5; } else { clearInterval(this.intervallo); } } XML_var = new XML(); // url XML_var.load("http://www.webbeloz.altervista.org/dataxml/flash.xml"); // dopo che xml è rilevato, funzione display XML_var.onLoad = displayXML; // display in txt caricato txt = "Loading Data_"; function displayXML() { mainTag = new XML; elementTag = new XML; articleList = new Array; elementList = new Array; mainTag = this.firstChild.nextSibling; articleList = mainTag.childNodes; txt = ""; //loop xml for(i=0;i<=articleList.length;i++) {//start elementList = articleList[i].childNodes; //start for(j=0;j<=elementList.length;j++) {//start elementTag = elementList[j]; head = elementTag.firstChild.nodeValue; if(elementTag.nodeName.toLowerCase() == "node1") {txt += head +" ";} if(elementTag.nodeName.toLowerCase() == "node2") {txt += head +" ";} if(elementTag.nodeName.toLowerCase() == "node3") {txt += head +" ";} if(elementTag.nodeName.toLowerCase() == "node4") {txt += head +" ";} if(elementTag.nodeName.toLowerCase() == "node5") {txt += head +" ";} }//finito }//finish }

Rispondi quotando