Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/11/2007, 19:51
Avatar de totote
totote
 
Fecha de Ingreso: diciembre-2006
Mensajes: 61
Antigüedad: 17 años, 4 meses
Puntos: 0
xml y variables

gente como hago para las variables que utilizo en la funcion onload del xml utilizarlas en el resto de flash osea lo que quiero hacer es esto, pero no me anda a ver si me pueden dar una mano
Código:
tema = new Sound();
var tema_xml:XML = new XML();
tema_xml.ignoreWhite = true;
tema_xml.onLoad = funcion(exito)
{
    var ruta = this.firstChild.childNodes[0].childNodes[0].firstChild.toString();
}

tema_xml.load("lista.xml");
tema.loadSound(ruta,true);