The frame-based solution worked fine for me, but I do not have the flash
background to argue the case against timers.  Someone who does will
someday do a definitive analysis of the two approaches.

 

Tracy

 

________________________________

From: [email protected] [mailto:[email protected]] On
Behalf Of Amy
Sent: Tuesday, December 23, 2008 3:54 PM
To: [email protected]
Subject: [flexcoders] Re: Performance and UI failing to update?

 

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Tracy Spratt" <tspr...@...> wrote:
>
> A quick google indicates that, as Manish says, current thinking is 
to
> use timer for this type of work.

I'm not sure I agree with this, since a timer can't react before the 
next frame anyway (i.e. the most accurate a timer can be is the frame 
rate).

> In addition to the libraries, Manish mentions, look at Alex's
> article/class:
> 
> http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html
<http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html> 
> 
> 
> 
> Also there is an explanation in the flex cookbook:
> 
> http://www.adobe.com/cfusion/communityengine/index.cfm?
<http://www.adobe.com/cfusion/communityengine/index.cfm?> 
event=showdetails
> &productId=2&postId=12026

Here's another example that may help (and it does use timers :-D)

 

Reply via email to