am also facing the same issue.. any help ?? Akshar Kaul
On Mon, Jun 7, 2010 at 21:05, Ashish Bhatia <[email protected]> wrote: > Hi, > > We have a Flex client and it is deployed as web application on web server. > User would hit the URL and the .html file which embeds the flex "swf" file > to load the application. > > Situation 1: When Browser close, back, forward, refresh buttons are pressed > we need to show the popup to user "Are you sure you want to perform this > action" with two options OK and Cancel. > > if they press OK then we need to perform the cleanup at the flex side and > once the clean up is done then Flex app will give green signal to browser to > perform close, back, forward , refresh action. > > If they press Cancel then nothing will happen. > > Situation 2: Once the application is downloaded hide the > forward,backward,refresh button. > > Findings: For Situation 1# we can capture windows javascipt event > "onbeforeunload" and browser shows the popup and user can take action on > that popup, but we can not intercept the user action on the popup. So we can > not perform the cleanup if they press ok. > > Please pour in your suggestions. > Thanks, > Ashish > > -- > 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]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- 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.

