--- In [email protected], "Robert Csiki" <[EMAIL PROTECTED]>
wrote:
>
>
> 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?
>
[snip]
>..I noticed if I'm popping up an Alert
> box, the process execution continues, ...

As the other answer told you, there is no waiting, threading, or the
likes. Flex is totally asynchronous in its operations. If you are
currently "waiting" by not executing more until the event comes back,
that is one way.

I have covered this extensively with respect to remote methods calls on
my blog, but the problem is basically the same. You might get some
valueable information by reading these entries about using events,
designing with callbacks and designing with tokens:

Waiting using a modal dialog
<http://techpolesen.blogspot.com/2007/09/coping-with-flex-asynchronous-r\
emote.html>

Designing with callbacks
<http://techpolesen.blogspot.com/2007/09/coping-with-flex-asynchronous-r\
emote_26.html>

Designing with tokens
<http://techpolesen.blogspot.com/2007/11/coping-with-flex-asynchronous-r\
emote.html>

Custom PopUps and Modal Dialogs
<http://techpolesen.blogspot.com/2007/08/custom-popups-and-modal-dialogs\
-in-flex.html>

Hope it helps!



Reply via email to