Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/01/2006, 06:16
Operadormail
 
Fecha de Ingreso: junio-2003
Mensajes: 778
Antigüedad: 20 años, 10 meses
Puntos: 1
Problemas con fade in/out

Hola a todos:

Tengo un clip con nombre de instancia mc_grafico con 3 capas

En la primera tengo otro clip con nombre de instancia mc_animado2
En la segunda un boton transparente llamado btn_trans2
y en la tercera stop();

En el boton tengo puesto el siguente codigo:

Código:
on (rollOver) {
        mc_animado2.onEnterFrame = function () {                            
                
                if (this._currentframe != 20) {
                        this.nextFrame();
                }             
        
                else {
                        this.stop();
                        delete this["onEnterFrame"];
                } // end if
        };
}

on (rollOut) {
        mc_animado2.onEnterFrame = function () {
                
        
                if (this._currentframe != 1) {
                        this.prevFrame();
                }                
        
                else {
                        this.stop();
                        delete this["onEnterFrame"];
                } // end if
        };

}

Y no me funciona. El mc_animado2 no avanza en su linea de tiempo y no se que puede ser...

ayuda please