Yes, do not use Timer for this, use the "result" event.

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of valdhor
Sent: Thursday, June 26, 2008 1:59 PM
To: [email protected]
Subject: [flexcoders] Re: Sleep or Wait command

 

As Flex is event based you should never have to use a wait/sleep.

All you need to do is add an eventlistener to your HTTPService
request. When the request returns the event fires and calls the
appropriate function.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "timgerr" <[EMAIL PROTECTED]> wrote:
>
> I am in need of a wait or sleep command that will not stop the whole
> applications, just do a wait/sleep in a while loop. Here is what I am
> talking about.
> 
> I have this while loop that waits for a string variable to populate
> from a HTTPService request. When the string is populated I want to
> break out of the while loop. Is there a component for sleep or wait?
> 
> Thanks,
> timgerr
>

 

Reply via email to