Tema: XML y Flash
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/02/2005, 23:29
Avatar de bernethe
bernethe
 
Fecha de Ingreso: abril-2004
Ubicación: San José, Costa Rica
Mensajes: 384
Antigüedad: 20 años, 10 meses
Puntos: 2
A ver, a ver...

veamos si te sirve este código:

Código:
var myX:XML = new XML();
myX.ignoreWhite = true;
myX.load("myXML.xml");
myX.onLoad = function() {
	for (var i = 0; i<myX.firstChild.childNodes.length; i++) {
		trace(myX.firstChild.childNodes[i]);
		trace(myX.firstChild.childNodes[i].attributes.atributo);
		trace(myX.firstChild.childNodes[i].childNodes[0]+newline);
	}
};
me avisas si funciona!!!
__________________
..::BERNETHE::..