[Tweener] Objects/Tweens - DisplayList

Patrick J. Jankun p at jankun.org
Fri Aug 1 07:44:44 PDT 2008


Hello again!

I just wanted to ask my last question, since i can't find any answer  
to that:

Is removing containers with objects from DisplayList more efficient in
terms of performance or making them invisible (through .visible =  
false) does the same?

What my head tells me, that the first solution would make more sense,  
since the object
is no more "rendered" (from what i have understand about displaylist),  
so removing children,
would keep the performance smooth, right?

I like to stick to my 30-40 fps, and im trying to build my project the  
way, so all unneeded stuff
is removed/invisible on stage/displaylist in the same time, what i  
don't know is:
If an object is invisible [.visible = false] does it has the same  
results like removeChild, or what
method does you guys use to manage performance/complexity and what  
should i consider.

What is your advice on this?

cheers,
Patrick



More information about the Tweener mailing list