Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/07/2007, 16:27
CIBERDAVID
 
Fecha de Ingreso: marzo-2005
Ubicación: Barcelona
Mensajes: 192
Antigüedad: 19 años, 2 meses
Puntos: 1
Re: componente alert en formulario

bueno esto es lo que tengo en el boton enviar:

on (release) {
import mx.controls.Alert;
Alert.buttonWidth = 100;
Alert.show("mi mensaje", "mi titulo", Alert.OK, this, "enviar_pb", Alert.OK);
}

y esto es lo unico que encontre para ponerlo en el fotograma 1 :

import mx.controls.Alert;
alClicar = new Object();
alClicar = function (evento) {
if (evento.detail == Alert.OK) {
trace("Has pulsado OK");
} else if (evento.detail == Alert.CANCEL) {
trace("Has pulsado Cancel");
}
};
Alert.show("Texto de la ventana", "Titulo de la ventana",
Alert.OK | Alert.CANCEL, this, alClicar, "prueba", Alert.OK);

no se como hacer la relacion :( , bueno muchisimas gracias para quien lo sepa.