----- Original Message ----- 
From: "Chris" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, June 26, 2008 6:38 PM
Subject: [flexcoders] Re: Sleep or Wait command


> See the Timer class.

It's the wrong solution to this problem. Flex and Flash is event based, so 
it's always better to pick up a completion/loading complete event than use a 
timer and guess when something is ready.

Paul


>
> -Christopher Keeler
>
> --- In [email protected], "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
>>
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
> Links
>
>
>
> 

Reply via email to