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], "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 >

