Conley
You could check out the Timer Class that can do this for you exactly in the
way you need it.
On 2/14/07, j.conley [EMAIL PROTECTED] wrote:
I was wondering if there are any plans to consider continuation
support in flash/flex? ...predominantly to support the concept of a
smarter
Hi,
yeah he timer class does it but;
function example {
trace(before);
sleep(2000);
trace(after 2 seconds);
}
Will not work. The Flash player exectues in order of the stack. So, you
can't have a sleep method inside a method block and halt the method block.
Although something like this might
@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle
Sent: Wednesday, February 14, 2007 4:32 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Continuations support? or smart
sleep()?
Hi,
yeah he timer class does
: [flexcoders] Continuations support? or smart sleep()?
Hi,
yeah he timer class does it but;
function example {
trace(before);
sleep(2000);
trace(after 2 seconds);
}
Will not work. The Flash player exectues in order of the stack. So, you
can't have a sleep method inside a method block and halt the method
4 matches
Mail list logo