Thanks Alex, that's what I was doing (using a handler for the Alert's "close" event), I thought there might be a smarter way doing it.
--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > There is no threads or blocking. After you put up the alert, don't > execute any more code until you get the event back from the Alert. > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Robert Csiki > Sent: Monday, November 26, 2007 12:11 PM > To: [email protected] > Subject: [flexcoders] Confirm dialog in Flex? > > > > How would I implement a Confirm-like dialog in Flex? Basically, a > confirmation popup (modal) window so the application will wait (freeze) > for the user's input and then will use it to continue its execution? > > Another case would be a session timeout handling. I want to alert the > user about it in an Alert popup, then after they click on OK, to present > them with the Login screen. But I noticed if I'm popping up an Alert > box, the process execution continues, that is, it does not wait for user > to click the button (and in my case, the Login Window pops up while the > alert box is still there, behind it). > > Thanks, Robert >

