Originariamente inviato da gnola
...vorrei però che al posto della dissolvenza ci sia l'effetto solarizzazione.....

...vorrei però che al posto della dissolvenza ci fosse l'effetto solarizzazione.....


Ciao e grazie
L'onRelease sparisce perché è inserito nella funzione, che tu sostituisci col prototipo che invece non ce l'ha.

Prova a modificare il prototipo così:
codice:
MovieClip.prototype.solar = function (defcolor) {
	this.c = new Color(this);
	this.o = new Object({rb:255,gb:255,bb:255});
	this.up = true;
	this.onEnterFrame = function () {
		if (this._alpha<100) {
			this._alpha += 20;
		}
		if (!this.up) {
			this.o.rb -= 10;
			this.o.gb -= 10;
			this.o.bb -= 10;
		} else {
			if (this.o.rb<=255) {
				this.o.rb *= 1.5;
				this.o.gb *= 1.3;
				this.o.bb *= 3;
			} else {
				this.o = {rb:255, gb:255, bb:255};
				this.up = false;
			}
		}
		this.c.setTransform(this.o);
		if (this.o.rb<=0) {
			this.o = defcolor;
			this.c.setTransform(this.o);
// inizio modifiche... 
			this.onRelease = function(){
				_root.quale=this.img;
				this.premuto(this.img,this.img,'');

			}
// fine modifiche...  
			delete this.onEnterFrame;
		}
	}
}