Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/06/2003, 17:52
Avatar de TMeister
TMeister
Crazy Coder
 
Fecha de Ingreso: enero-2002
Ubicación: En la Oficina
Mensajes: 2.880
Antigüedad: 22 años, 2 meses
Puntos: 193
Se me ocurre algo Asi:

Código:
for (i=0; i<6; i++) {
	this["dot"+i] = cuadro.duplicateMovieClip("dot"+i, i);
	this["dot"+i].label.text = i;
	this["dot"+i]._x = random(350);
	this["dot"+i]._y = random(350);
	if (i == 5) {
		this["dot"+i].onEnterFrame = function() {
			if (this._y<=500) {
				this._y += 10;
			} else {
				delete this.onEnterFrame;
			}
		};
	}
}
cuadro._visible = false;
Aqui le asignaras el EnterFrame al movieClip numero 5

Saludos!!