Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/05/2005, 23:27
Avatar de bernethe
bernethe
 
Fecha de Ingreso: abril-2004
Ubicación: San José, Costa Rica
Mensajes: 384
Antigüedad: 20 años
Puntos: 2
acaba de hacer lo siguiente, puse un botón y 2 CheckBox, al boton le puse de nombre de instancia bot_btn, y a los checkbox m1 y m2, luego puse este código en el layer de acciones...

Código:
var m1:mx.controls.CheckBox;
var m2:mx.controls.CheckBox;
bot_btn.onRelease = function() {
	if (m1.selected == true) {
		trace("m1");
	}
	if (m2.selected == true) {
		trace("m2");
	}
};
y me funcionó, me dices si te sirve...
__________________
..::BERNETHE::..