flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurice Amsellem <maurice.amsel...@systar.com>
Subject RE: Close popup to resume user interaction with the screen
Date Tue, 22 Oct 2013 20:02:06 GMT
You need to wait for the popup to actually close before doing your 10sec processing.
Add a listener to popup close event (or whatever equivalent event), and do your processing
in that handler.

However, whatever place you put your processing, your application will seem "frozen" during
that period.
The only solution to make it seem active is to use workers, like Alex suggested.


-----Message d'origine-----
De : mark goldin [mailto:markzolotoy@gmail.com] 
Envoyé : mardi 22 octobre 2013 21:45
À : users
Objet : Re: Close popup to resume user interaction with the screen

I thought Actionscript workers cannot handle screens.
Also, I am not sure how  psuedo-threading will help. What I want is to close popup right away
so the screen will become active. But currently the popup processes received data before it
closes. Is that still can be accomplished?

On Tue, Oct 22, 2013 at 2:18 PM, Alex Harui <aharui@adobe.com> wrote:

> Actionscript Workers or psuedo-threading.
> On 10/22/13 10:24 AM, "mark goldin" <markzolotoy@gmail.com> wrote:
> >I have a popup that user is using to send a request to the server. 
> >After receiving a response from the server the popup does a few 
> >things with arrived data and closes. So the user does not have to 
> >close it. All he does is clicking on the Ok button. It takes about 10 
> >sec from clicking Ok and getting popup closed. Any tricks people have 
> >come with to create an illusion that the screen would become active 
> >sooner then it actually is?
> >
> >Thanks

View raw message