Ver Mensaje Individual
  #4 (permalink)  
Antiguo 20/06/2005, 07:41
Avatar de rusoftware
rusoftware
 
Fecha de Ingreso: abril-2004
Ubicación: Rosario - Argentina
Mensajes: 1.083
Antigüedad: 20 años
Puntos: 2
Especificándolo botón por botón... Cada uno debe tener nombre de instancia, para el ejemplo, boton1, boton2, boton3, botonxx.
Cita:
stop();
segundos = 3;
espera = function () {
boton1.enabled = true;
boton2.enabled = true;
boton3.enabled = true;
botonxxx.enabled = true;
clearInterval(a);
trace("habilito");
};
boton.onRelease = function() {
boton1.enabled = false;
boton2.enabled = false;
boton3.enabled = false;
botonxxx.enabled = false;
a = setInterval(espera, segundos*1000);
trace("deshabilito");
};
Un abrazo