[osflash] Help combating high CPU usage in animation intensive movies.
Martin Wood
flashdev at relivethefuture.com
Tue Apr 25 07:36:39 EDT 2006
thats the best option, the above things unfortunately dont help.
In my base class for animated objects i use a hide method something like :
function hide()
{
mc._visible = false;
mc._x = mc._y = -10000;
}
that seems to stop the renderer from including it.
if you are using flash 8 then you might also get some benefits from double
buffering, i.e. render them all to an offscreen bitmap and then just swap that
onto the stage each frame (with .cacheAsBitmap=true for the mc)
i've not tried it myself so i dont know if its any quicker than just having them
onscreen...maybe worth trying if just moving them offscreen doesnt help enough.
More information about the osflash
mailing list