Hi, In my flash, the socket server returns some xml data that I need to parse, but it seems that the only way to start the XML object is with the XML.Load() which loads an external file, but my XML file is already loaded into a variable
trace("raw: "+msg);
msgArea.htmlText += "
update remote player loc";
var playerLocXMLOb = new XML(msg);
playerLocXMLOb.ignoreWhite = true;
trace(playerLocXMLOb.firstChild.firstChild.nodeValue);
Which just returns
raw: <ploc><x>348</x><y>468</y><uid>red</uid></ploc>
null
Do you know what I am doing wrong? Or is an external file the only way?