onLoad = function() {
for(i=0;i<12;i++) {
_root["clipLoader"+i].id = i;
_root["clipLoader"+i].onPress = imprimir;
}
}
function imprimir() {
trace(this.id);
trace(xmlfile.firstChild.childNodes[this.id].attributes.descripcion);
trace(xmlfile.firstChild.childNodes[1].attributes.descripcion);
}
lo extraño de esto es que this.id lo imprime bien pero no me deja usarlo como indice para recorrer el XML y el xml esta bien cargado porque la 3ra linea con un numero funciona bien y me devuelve el atributo que quiero. Ojala puedan ayudarme
