Ciao buongiorno a tutti!!

Ho questo script:

Codice PHP:
test_mc._alpha=100
MovieClip
.prototype.luminosita = function(){
    
this.= new Color(test_mc)
    
this.= {rb:255,gb:255,bb:255}
    
this.up true
    this
.onEnterFrame = function(){
        if(
this.clip._alpha 100){
            
this.clip._alpha += 10
        
}
        if(
this.up == false){
            
this.o.rb -= 10
            this
.o.bb -= 10
            this
.o.gb -= 10
        
} else {
            if(
this.o.rb 255){
                
this.o.rb *= 1.5
                this
.o.bb *= 3
                this
.o.gb *= 1.5
            
} else {
                
this.= {rb:255,gb:255,bb:255}
                
this.up false;
            }
        }
        if(
this.o.rb 0){
            
this.= {rb:0,gb:0,bb:0}
            
delete this.onEnterFrame;
        }
        
this.c.setTransform(this.o)
    }
}
test_mc.luminosita(this); 
che appliccato su un MC istanziato test_mc (con dentro una foto) effettua un effetto di solarizzazione IN ENTRATA.

Come posso modificare lo script e dare un effetto al contrario IN USCITA

Grazie