Re: [flexcoders] Sleep function in ActionScript?

2006-05-31 Thread Steve Gustafson
Sho has a 3 part post on how to handle async events.  Here is the link to part 1http://kuwamoto.org/2006/05/16/dealing-with-asynchronous-events-part-1/ Gus -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-arch

RE: [flexcoders] Sleep function in ActionScript?

2006-05-31 Thread Tracy Spratt
Nope, you can’t do that.  The Flash Player, from our perspective, is single threaded.  Nothing else can happen during a loop, including receiving any data.   Data calls in Flex are asynchronous.  You must either bind to the lastResult property, or handle the result data in a handler fun

RE: [flexcoders] Sleep function in ActionScript?

2006-05-31 Thread Joan Tan
You can use the setTimeout function in the flash.utils package.   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Charles Sent: Wednesday, May 31, 2006 3:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sleep function in ActionScript?