Ver Mensaje Individual
  #8 (permalink)  
Antiguo 11/08/2009, 08:10
Avatar de nezu
nezu
 
Fecha de Ingreso: junio-2007
Mensajes: 177
Antigüedad: 16 años, 10 meses
Puntos: 0
Sonrisa Respuesta: Scollbar de MC externo

Pude solucionarlo, pego el codigo por si a alguien le sirve:
solo habia que cambiar el "_root." por "todos."
y crear un mc con la etiqueta "todos"... y asi poder scrollear.

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++) {
			todos.attachMovie("mcBoton","boton"+i,todos.getNextHighestDepth());
			todos["boton"+i]._x = -16;
			todos["boton"+i]._y = -8 + (i * 22);
			todos["boton"+i].texto = opciones[i].childNodes[0].firstChild;
			todos["boton"+i].linkurl = opciones[i].childNodes[1].firstChild;
			todos["boton"+i].onRelease = function () {
				getURL(this.linkurl, "_blank");
			}
		}
	} else {
		trace("Error al Leer archivo XML");
	}
}
opcionesXML.load("menu.xml");
Gracias DiegoAzul por tu buena onda y predisposición.
Ya me estaba medio defraudando este foro... solo le contestan a las chicas..