Supponendo che tu usi flash mx...
XML:
codice:
<?xml version="1.0" encoding="UTF-8" ?>
<data>
<testo><![CDATA[questo è un link]]></testo>
</data>
Azioni in flash:
codice:
var data_xml = new XML();
data_xml.ignoreWhite = true;
data_xml.onLoad = function(success)
{
if(success){
createTextField("testo_txt", 1, 0, 0, 200, 200);
testo_txt.background = true;
testo_txt.html = true;
testo_txt.htmlText = this.firstChild.firstChild.firstChild.nodeValue;
} else {
trace("FILE XML MANCANTE");
}
};
function traccia(testo)
{
trace(testo)
}
data_xml.load("data.xml");