Re: [flexcoders] Delay recursive function

2008-05-13 Thread Paul Andrews
If you move sort(a, l, i-1); sort(a, i+1, r); into the event handler, you should have what you want. Paul - Original Message - From: "Nicholas" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 13, 2008 6:07 AM Subject: [flexcoders] Delay recursive function > I've looked for other t

RE: [flexcoders] Delay recursive function

2008-05-13 Thread Alex Harui
Or callLater or setTimeout From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: Tuesday, May 13, 2008 2:15 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Delay recursive function If you move sort(a, l, i-1

RE: [flexcoders] Delay recursive function

2008-05-13 Thread Gordon Smith
It's not that the changes are happening too fast to see. It's that nothing is getting drawn to the screen until the entire sort() method has finished. The Flash Player does delayed frame rendering. Drawing commands don't get rasterized into pixels while your ActionScript method is executing. An