ho capito l'errore
ma adesso propio non capisco perchè non funziona
codice:
import mx.controls.Alert;
this.ral._visible = false;
form = new Object();
form.click = function(eventObj) {
if (eventObj.target.selection.data == 1) {
trace("1");
my_color = new Color(this.fondo);
my_color.setRGB(0x000000);
} else if (eventObj.target.selection.data == 2) {
trace("2");
my_color = new Color(this.fondo);
my_color.setRGB(0xFFFFFF);
} else if (eventObj.target.selection.data == 3) {
trace("3");
Alert.show("INSERISCI IL CODICE ", "ATTENZIONE!!", Alert.OK, null, null);
this.ral._visible = true;
Selection.setFocus(this.ral);
}
};
colorefondo.addEventListener("click", form);
la finestra di alert la vedo ma poi non esegue
codice:
this.ral._visible = true;
:master: