Sprites suck CPU time and memory no matter what, more if they are on the 
display list, and even more if visible.

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
flexaustin
Sent: Wednesday, November 26, 2008 2:27 PM
To: [email protected]
Subject: [flexcoders] CPU Usage: to create or not to create and render?


I was wondering if anyone knew of a good article or book that explains
how flash player uses CPU? With Flex, once items are rendered is
better to leave them or delete them and recreate them if/when needed.

So for instance, if I need to have 5,000 items, say columncharts, on
screen but in order to see them and create them on screen they must be
within the stages bounds and be scaled to say 25%. Once they are
created and displayed and then moved off the stage bounds or scaled
below 10% is it better to delete all references to them and completely
remove them or leave them and just set enabled=false and visible=false
and/or any other settings?

Does flash use any cpu or as much if items are disabled and not
visible, plus not on the stage? Or do they still consume as much of
the cpu/memory?

Thanks, J

TIA

Reply via email to