ActionScript (flash) y XML
este es mi codigo:
var Mixml = new XML();
Mixml.ignoreWhite = true;
Mixml.onLoad = function(success) {
if (success) {
elemento = this.createElement(nom);
trace(this.firstChild.childNodes[0].firstChild.nodeValue);
this.firstChild.appendChild(elemento);
trace(this);
}
};
Mixml.load('prueba.xml');
en el trace me muestra q si introdujo el nodo pero al abrir el archivo xml, no salen los datos...g
me puedes ayudar gracias??
var Mixml = new XML();
Mixml.ignoreWhite = true;
Mixml.onLoad = function(success) {
if (success) {
elemento = this.createElement(nom);
trace(this.firstChild.childNodes[0].firstChild.nodeValue);
this.firstChild.appendChild(elemento);
trace(this);
}
};
Mixml.load('prueba.xml');
en el trace me muestra q si introdujo el nodo pero al abrir el archivo xml, no salen los datos...g
me puedes ayudar gracias??