Tema: scroll flash
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 20/04/2007, 09:55
Avatar de Bandit
Bandit
Moderador
 
Fecha de Ingreso: julio-2003
Ubicación: Lima - Perú
Mensajes: 16.726
Antigüedad: 20 años, 9 meses
Puntos: 406
Re: scroll flash

Hola PabloRodas:
Al MC que contiene el texto ponle como nombre de instancia: texto.
A los botones que tienes en en los MC el siguiente código:
on (rollOver) {
_root.abajo.enabled = true;
this.onEnterFrame = function() {
_root.texto._y += 5;
if (_root.texto._y>=100) {
delete this.onEnterFrame;
this.enabled = false;
}
};
}
on (rollOut) {
delete this.onEnterFrame;
}

En el otro botón:
on (rollOver) {
_root.arriba.enabled = true;
this.onEnterFrame = function() {
_root.texto._y -= 5;
if (_root.texto._y<=-200) {
delete this.onEnterFrame;
this.enabled = false;
}
};
}
on (rollOut) {
delete this.onEnterFrame;
}

Espero haberte sido de ayuda.
__________________
Bandit.
Si no sabes estudia y si sabes enseña.
http://www.banditwebdesign.com/