Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/07/2009, 16:29
ASoul
 
Fecha de Ingreso: abril-2009
Mensajes: 40
Antigüedad: 15 años, 1 mes
Puntos: 0
Respuesta: Convertir array en xml

Hola amigo. Te recomiendo esto
var titles = new Array();
System.useCodepage = true;
XML.prototype.ignoreWhite = true;
var mndo:XML = new XML();
mndo.ignoreWhite = true;
mndo.onLoad = function(cargo) {
if (cargo) {

for ( i = 0; i < 100; i++) {
titles[i] = mndo.firstChild.childNodes[i].firstChild.nodeValue;
}

} else {
problema_txt.text = "Error";
}
};
mndo.load("fotos.xml");

Paz y flash