Amigos.
Busco simplificar la siguiente sentencia, espero me puedan ayudar !
<code>
bordes_mc._alpha = 0;
logo_mc._alpha = 0;
sombra_mc._alpha = 0;
b = 1;
s = 0;
l = 0;
bordes_mc.onEnterFrame = function() {
this._alpha += b;
if (this._alpha>=98) {
l = 1;
this._alpha = 100;
delete this.onEnterFrame;
}
};
logo_mc.onEnterFrame = function() {
this._alpha += l;
if (this._alpha>=98) {
s = 1;
this._alpha = 100;
delete this.onEnterFrame;
}
};
sombra_mc.onEnterFrame = function() {
this._alpha += s;
if (this._alpha>=98) {
this._alpha = 100;
delete this.onEnterFrame;
}
};
</code>
Saludos !
JOHNMARTIN
JOHNMARTIN
www.usershock.com
Macromedia User Group
<!-------------------------------
Lista ASNativos:
subscripciones/desubscripciones
http://www.sidedev.net/asnativos
-------------------------------->