ho capito l'errore
ma adesso propio non capisco perchè non funziona
la finestra di alert la vedo ma poi non eseguecodice: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);
:master:codice:this.ral._visible = true;

Rispondi quotando