Does Flex/Actionsctipt/Flash implements a mechanism for reusing Sprites?

Posted by php html on Stack Overflow See other posts from Stack Overflow or by php html
Published on 2010-03-15T22:51:29Z Indexed on 2010/03/15 22:59 UTC
Read the original article Hit count: 110

Filed under:
|
|
|

I'm creating a game and I create sprites(enemies). I keep creating and destroying sprites. Flash/Flex has a garbage collector which handles the destruction of unused resources. Should I create an object pool to reuse them, or should I leave flash/flex to handle the creation/destruction of objects?

Which option is better from the performance point of view?

© Stack Overflow or respective owner

Related posts about flash

Related posts about flex