Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/01/2008, 19:22
Avatar de bernethe
bernethe
 
Fecha de Ingreso: abril-2004
Ubicación: San José, Costa Rica
Mensajes: 384
Antigüedad: 20 años
Puntos: 2
Re: como distingo con action q boton se seleeciono?

A ver si entendí:
Código:
function enResumen(bot_btn:Button) {
	for (i in botonera) {
		botonera[i].enabled = true;
		botonera[i].gotoAndStop(1);
	}
	bot_btn.enabled = false;
	if (this.enabled == false) this.gotoAndStop("_seleccion");
}
botonera.boton1.onRelease = function() {
	enResumen(botonera.boton1);
};
botonera.boton2.onRelease = function() {
	enResumen(botonera.boton2);
};
botonera.boton3.onRelease = function() {
	enResumen(botonera.boton3);
};
botonera.boton4.onRelease = function() {
	enResumen(botonera.boton4);
};
__________________
..::BERNETHE::..