[osflash] Delete Class (theNinjaBunny SuperHero)

Steve Mathews happydog at gmail.com
Thu Apr 13 11:46:23 EDT 2006


The garbage collector will delete when it "feels" like it. All calling
delete does is mark it for clean up.

On 4/13/06, theNinjaBunny SuperHero <nodani at gmail.com> wrote:
> Yes, it's on a class (no extends Objects, neither MovieClip)
>
> Tracing the object after "deleting" it,
> return me the object with all its variables.
>
> class ScrollObject {
>
> /*
> some stuff
> */
>        public function removeObject():Void {
>                delete this;
>                C.log(this);
>        };
> };
>
> C.log is LuminicBox Logger.
> That's return me the object, like "delete this" is not working.
>
> Thanks
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>



More information about the osflash mailing list