codice:onClipEvent (load) { this.stop(); continua = function () { trace("asfunction:continua"); }; mio_xml = new XML(); mio_xml.path = this; mio_xml.ignoreWhite = true; mio_xml.onLoad = function(success) { if (success) { var t1 = ""; var t2 = ""; var t3 = "<font color='#F59E65'>"; var t4 = "</font>"; var nodes = this.firstChild.childNodes; for (var i = 0; i < nodes.length; i++) { var titolo = nodes[i].attributes.titolo; var descrizione = nodes[i].attributes.descrizione; this.path.testo += t1 + titolo + t2 + " "; this.path.testo += descrizione + t3 + "....continua" + t4 + " "; this.path.testo += " _________________________________________________"; this.path.testo += " "; this.path.testo += " "; } } else { this.path.testo = "caricamento errato"; } this.path.nextFrame(); }; mio_xml.load("decretiministeriali.xml"); }