Ver Mensaje Individual
  #4 (permalink)  
Antiguo 16/09/2005, 16:48
Avatar de bernethe
bernethe
 
Fecha de Ingreso: abril-2004
Ubicación: San José, Costa Rica
Mensajes: 384
Antigüedad: 20 años
Puntos: 2
No soy brandit, pero lo haría mas o menos así:

Código:
var i:Number = 1;
createEmptyMovieClip("contenedor", 1);
onEnterFrame = function () {
	with (contenedor) {
		lineStyle(0, 0x000000, 100);
		moveTo(0, 100);
		lineTo(i, 100);
		i += 5;
		if (i>=500) {
			onEnterFrame = null;
		}
	}
};
Allí lo detiene cuando llega aproximadamente a los 500 pixeles
__________________
..::BERNETHE::..