actionscript 3.0 garbage collection with casalib ?
- by algro
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