Hi
try this
Alert.show("Changes will be lost", null,Alert.YES|Alert.NO, null,
conformChange);

public function conformChange(event:CloseEvent):void
{
if(event.detail == Alert.YES)
{
do refresh logic here
}
}

On Jan 5, 2:21 pm, denimabhishek <[email protected]> wrote:
> Hi All,
>
> I need some help.I have one flex application. Suppose when a user opts
> to refresh a screen, they receive an alert message and are taken out
> of th program.  Is it possible to give the option to "Cancel" so that
> the user can cancel the request and remain in the program?
>
> Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to