Comunidad de diseño web y desarrollo en internet online

No funciona boton fade-in fade-out

Citar            
MensajeEscrito el 08 Abr 2006 04:24 pm
Hola a todos, estoy aprendiendo a hacer un boton fade in out. Utilizé este tutorial:

http://www.cristalab.com/tutoriales/123/boton-con-fade-in-y-fade-out-animado

Pero cuando veo el ejemplo no funciona.... este es el código del botón:



Código :

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


Saludos

Por RazorBuzz

22 de clabLevel



 

firefox
Citar            
MensajeEscrito el 08 Abr 2006 04:57 pm
Lo muevo a ActionScript.

Checa éste link ;)

Por MorphX

SWAT Team

982 de clabLevel

3 tutoriales

  SWAT

La Telaraña Digital

clabbrowser

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.