Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/10/2006, 11:30
Avatar de richardinj
richardinj
 
Fecha de Ingreso: enero-2005
Ubicación: Ciber Espacio
Mensajes: 2.180
Antigüedad: 19 años, 3 meses
Puntos: 11
No me funciona para nada este codigo :(

Que puede estar pasando?...

nombre=obj_xml.firstChild.childNodes[0].attributes.nombre;

this.attachMovie("SuperBoton", nombre, 10);

botonpadre = this[nombre];

botonpadre.animado.texto.text=obj_xml.firstChild.c hildNodes[0].attributes.titulo; // no asigna el nombre

botonpadre.valor=obj_xml.firstChild.childNodes[0].attributes.valor;

trace(botonpadre) //No funciona
trace(botonpadre.valor) //No funciona

trace(obj_xml.firstChild.childNodes[0].attributes.valor;) //SI funciona

Probé los obj_xml y si devuelven el valor correcto del XML...

los trace() me devuelven undefined

gracias por la ayuda