Answered
As to print data of xml in the field of text in palco
segue o seguinte código para abertura do arquivo xml:
xml follows the following code for opening of the archive:
var carregador:URLLoader = new URLLoader();
carregador.addEventListener(Event.COMPLETE, emCompleto, false, 0, true);
carregador.load(new URLRequest("http://localhost/arquivo.xml"));
function emCompleto(evt:Event):void
{
var dadosXML:XML = new XML(evt.target.data);
// Obtendo valor do atributo... // Getting value of the attribute…
texto = dadosXML.pessoa[0].@id;
trace(texto);
// Exibirá "cliente" // Will show " cliente"
}