CoreObject

Kind of class:class
Inherits from:none
Implements:
Known subclasses:
Version:02/06/07
Author:Toby Boudreaux, David Nelson, Aaron Clinger
Classpath:org.casaframework.core.CoreObject
File last modified:Sunday, 19 August 2007, 13:43:30
A core level object to inherent from which extends Flash's built-in object class. All object classes not extending from core flash classes/types should extend from here
Usage note:
All user defined objects should inherent from CoreObject to return a detailed class description rather than the default [object Object]. In subclasses call method $setClassDescription(description:String) to set class description.
Example:
class com.example.Example extends CoreObject {
    public function Example() {
        super();

        this.$setClassDescription("com.example.Example");
    }
}

Summary

Constructor
Instance methods

Constructor

CoreObject

function CoreObject ()

Instance methods

destroy

function destroy () : Void
Removes any internal variables, intervals, enter frames, internal MovieClips and event observers to allow the object to be garbage collected.

Always call destroy() before deleting last object pointer.
#
Example:
this.myObject.destroy();
delete this.myObject;

toString

function toString () : String
Returns class description name.
#
Returns:
Returns class path.
#