import mx.controls.Alert;
Failed to create a new alert, probably because there is no Alert in the Library
codigo que tengo ahorita .....haber si me pudieran ayudar
BtnEnviarListener = new Object();
BtnEnviarListener.click = function ()
{
Alert.show("¿Te gusta este tutorial tan chulo?", "Encuesta CristaLab.com", Alert.YES | Alert.NO, this, alClicar, "prueba", Alert.OK);
}
BtnEnviar.addEventListener("click",BtnEnviarListener);
alClicar = new Object();
alClicar = function (evento){
if (evento.detail == Alert.YES){
trace("Has pulsado Si");
}
else if (evento.detail == Alert.NO){
trace("Has pulsado No");
}
}
Alert.yesLabel = "Sí";
Alert.noLabel = "No";
Alert.buttonWidth = 75;
