Tema: [AS Battle]
Ver Mensaje Individual
  #8 (permalink)  
Antiguo 12/10/2005, 23:52
Avatar de stock
stock
 
Fecha de Ingreso: junio-2004
Ubicación: Monterrey NL
Mensajes: 2.390
Antigüedad: 19 años, 10 meses
Puntos: 53
Bueno, aqui va mi tiro (Para distraerme un poco de los examenes)

100 fps
Código PHP:

comenzar
(1);

function 
comenzar(n:Number):Void{
    var 
cont:MovieClip this.createEmptyMovieClip("c"n);
    var 
x:Number 0;
    var 
y:Number 0;
    var 
a:Number 0;
    
cont._x Stage.width/2;
    
cont._y Stage.height/2;

    
cont.onEnterFrame = function() {
        
this._rotation += 15;
        if (
a<80) {
            
a+=1.5;
            
40*Math.sin(a*3.5);
            
40*Math.cos(a*3.5);
            if (
a<2) {
                
cont.moveTo(xy);
            }
            
cont.lineStyle(10x0066cc20);
            
cont.lineTo(xy);
        }else{
            if(
a<151){
                
a++;
                
60*Math.sin(a*2.5);
                
60*Math.cos(a*2.5);
                if(
a%2==0)
                    
cont.lineStyle(30xFDCA0220);
                else
                    
cont.lineStyle(30xFF00FF20);
                
cont.lineTo(xy);
            }else{
                
this._xscale +=10;
                
this._yscale +=10;
                
this._alpha--;
                if(
this._alpha<10){
                    
n++;
                    
delete this.onEnterFrame;
                    
this.removeMovieClip();
                    
comenzar(n);
                }
            }
        }
    }