function repetir(num:Number):Void {
_root.attachMovie("bola_mc", "bola"+a, _root.getNextHighestDepth());
_root["bola"+a]._x = Math.random()*(Stage.width-_root["bola"+a]._width);
_root["bola"+a]._y = Math.random()*(Stage.height/2-_root["bola"+a]._height);
_root["bola"+a].eje = _root["bola"+a]._y;
a++;
if (a == num) {
clearInterval(dato);
}
}
dato = setInterval(repetir, 100, 10);
necesito un boton en el scenary que haga que al hacer on press en el msimo todos los Movies caigan hasta el borde dle escenario. Alguien sabe el codigo action para eso?
gracias
