ma in pratica ti serve uno script per fare in modo che appaia in alpha un mc tramite as????
puoi usare questo allora
sul frame
codice:
MovieClip.prototype.alpha = function(aarrivo, a, b, t) {
///////////
if ((aarrivo != "goto")&&(a != '' && a != "" && a != 0)&&(b != '' && b != "" && b != 0)) {this.k = (1/b)/a;}
else {if ((aarrivo != "goto")&&(a != '' && a != "" && a != 0)&&(b == '' || b == "" || b == 0)) {this.k = 1/a;}
else {this.k = 0.1;}}
if (aarrivo == "goto") {this._alpha = a;this.aarrivo = b;}
else {this.aarrivo = aarrivo;}
///////////
this.da = 0;
this._visible=true;
this.t = t;
this.t1 = getTimer()/100;
this.onEnterFrame = function() {
this.t2 = getTimer()/100;
if ((this.t2 >= this.t1 + this.t) || (this.t == '' || this.t == "" || this.t == 0)) {
this.da = (this.aarrivo-this._alpha)*this.k;
if (Math.abs(this.da)>0.1) {
this._alpha += this.da;
} else {
this._alpha = this.aarrivo;
if (this._alpha == 0) {this._visible=false;}
delete this.onEnterFrame;
}
}
};
};
poi lo richiami sempre sul frame così
codice:
tuoClip.alpha("goto",0,100,1);//effetto contrario inverti 100 e 0
e lo puoi usare per + clip