en el primer fotograma de mi pelicula tengo el sigte codigo
Código :
var opcionesXML:XML = new XML(); opcionesXML.ignoreWhite = true; opcionesXML.onLoad = function (sucess:Boolean) { if (sucess) { var opciones:Array = this.firstChild.childNodes; for(i = 0; i < opciones.length; i++) { _root.attachMovie("mcBoton", "boton"+i, _root.getNextHighestDepth()); _root["boton"+i]._x = 50; _root["boton"+i]._y = 22 + (i * 22); _root["boton"+i].texto = opciones[i].childNodes[0].firstChild; _root["boton"+i].linkurl = opciones[i].childNodes[1].firstChild; _root["boton"+i].onRelease = function () { _getURL(this.linkurl, "_blank"); } } } else { trace("Error al Leer archivo XML"); } } opcionesXML.load("menu.xml");
y este es el archivo XML
Código :
<?xml version="1.0" encoding="iso-8859-1"?> <opciones> <opcion> <texto>Elemento 1</texto> <linkurl>http://www.google.com/</linkurl> </opcion> <opcion> <texto>Elemento 2</texto> <linkurl>http://www.cristalab.com/</linkurl> </opcion> <opcion> <texto>Elemento 3</texto> <linkurl>http://www.ejemplo.com/</linkurl> </opcion> <opcion> <texto>Elemento 3</texto> <linkurl>http://www.algo.com/</linkurl> </opcion> </opciones>
Repito!!! mi problema es que no se visualiza la animacion que contiene el boton una vez que se le hace mouse over.
y para mas informacion les digo que si comentarean la accion que define lo que hace el boton al hacerle clic, entonces si se visualiza
ejemplo:
Código :
/*_root["boton"+i].onRelease = function () { _getURL(this.linkurl, "_blank");}*/