Quick Tips:Garbage Collection
From CASA Framework
Garbage collection; the often totally ignored aspect of programming in ActionScript. CASA helps aid garbage collection by including the built-in destroy() method. This method is contained in every class excluding utils and singletons. Once called, CASA works backward through the inheritance chain clearing up all variables, intervals, listeners etc. in its path. It helps keep your applications memory usage low. Here is the usage:
var myClass:CasaClass = new CasaClass(); this.myClass.destroy(); delete this.myClass;
It should only be called directly before deleting the instance pointer. In classes that extend MovieClip destroy() is called automatically when removeMovieClip() is called and vice versa.

