Ver Mensaje Individual
  #12 (permalink)  
Antiguo 26/10/2006, 12:26
guiyermo
 
Fecha de Ingreso: octubre-2005
Mensajes: 91
Antigüedad: 18 años, 5 meses
Puntos: 0
Hola Bandit, siguen sin funcionarme los botones arriba/abajo.
He leido super detenidamente y hasta lo volví a hacer el ejercicio, pero no me hace caso!!
apenas si le inserte variables al código que me has pasado

loadVariablesNum("histocat_text.txt", 0);
_root.BtnAbajo.onRollOver = function() {
abajo("presionado");
};
_root.BtnAbajo.onRollOut = function() {
abajo("");
};
_root.BtnArriba.onRollOver = function() {
arriba("presionado");
};
_root.BtnArriba.onRollOut = function() {
arriba("");
};
function abajo(estado) {
onEnterFrame = function () {
if (estado == "presionado") {
_root.evento1_txt.scroll += 1;
} else {
}
};
}
function arriba(estado) {
onEnterFrame = function () {
if (estado == "presionado") {
_root.evento1_txt.scroll -= 1;
} else {
delete (this.onEnterFrame);
}
};
}


y aún así al posar el mouse sobre los botones queda inactivo, o sea si clickas sobre el texto y mueves con las teclas arr/abj o con la rueda del mouse se mueve, pero no con los botones.

Gracias