[flexcoders] callLater, FPS, and lengthy background operations

2008-05-24 Thread Josh McDonald
Hi Guys, If I have a long list of things to process as a background task, I figure a good way to do it is a piece at a time with callLater(). However I'd like to be able to detect if I'm taking too long per block and running into the next frame. Also, I'd like to do more per cycle if my app finds

Re: [flexcoders] callLater, FPS, and lengthy background operations

2008-05-24 Thread EECOLOR
Framerates by default are set to 40 FPS. If you happen to have a reference to the stage, you can use the stage.frameRate property. That way you have a solution for all frame rates. I would use an enterFrame solution like callLater, then just check the time within a while loop. Greetz Erik On 5

RE: [flexcoders] callLater, FPS, and lengthy background operations

2008-05-24 Thread Alex Harui
oders@yahoogroups.com Subject: [flexcoders] callLater, FPS, and lengthy background operations Hi Guys, If I have a long list of things to process as a background task, I figure a good way to do it is a piece at a time with callLater(). However I'd like to be able to detect if I'm taking too

Re: [flexcoders] callLater, FPS, and lengthy background operations

2008-05-24 Thread Josh McDonald
--- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Saturday, May 24, 2008 3:36 AM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] callLater, FPS, and lengthy background operations > > > > Hi Guys, > > I