Re: [flexcoders] Continuations support? or smart sleep()?

2007-02-14 Thread Michael Schmalle
t:* Re: [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 ins

RE: [flexcoders] Continuations support? or smart sleep()?

2007-02-14 Thread Dirk Eismann
@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 it

Re: [flexcoders] Continuations support? or smart sleep()?

2007-02-14 Thread Michael Schmalle
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 migh

Re: [flexcoders] Continuations support? or smart sleep()?

2007-02-14 Thread Igor Costa
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 "Thre

[flexcoders] Continuations support? or smart sleep()?

2007-02-14 Thread j.conley
I was wondering if there are any plans to consider continuation support in flash/flex? ...predominantly to support the concept of a smarter "Thread.sleep(n)" without blocking or disrupting the single-threaded execution model. for context, here is a "sleep" pseudo-example using the continuations c