Ho provato questo semplice
codice
con questo xml:Codice PHP:
var myXML:XML = new XML();
myXML.ignoreWhite = true;
myXML.load("test.xml");
myXML.onLoad = function(success) {
if (success) {
var myImage = myXML.firstChild.childNodes;
pippo_txt.text= myImage[0].firstChild.nodeValue;
}
};
e funziona senza problemi.Codice PHP:
<?xml version="1.0" encoding="UTF-8"?>
<test>
<mytest>l'uomo è un'uomo</mytest>
</test>
Scusate la fantasia![]()
![]()