actionscript 3.0 garbage collection with casalib ?

Posted by algro on Stack Overflow See other posts from Stack Overflow or by algro
Published on 2010-05-29T21:39:58Z Indexed on 2010/05/29 21:42 UTC
Read the original article Hit count: 308

I would love to see an actual example how to use the casalib-garbage-collection. I used the destroy method like in the description: casa-lib description

If I have a Loader in a Subclass, do I also have to use the CasaLibLoader? Do I have still to care about all Instances/Eventlisteners to do proper garbage collection? If yes, whats the advantage of casalib-garbage-collection? I assumed to call destroy on a Casalib-Sprite and then it would destroy all its subclasses and references, and therefore safe memory. It would be awesome to get an easy instruction.

Thanks in advance

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about garbage-collection