Access keys

CoreObject

Kind of class: class
Inherits from: none
Implements:
Known subclasses:
Version: 10/11/06
Author: Toby Boudreaux, David Nelson, Aaron Clinger
Classpath: org.casaframework.core.CoreObject
File last modified: Wednesday, 24 January 2007, 21:45:39
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 internal variables, intervals, enter frames, internal MovieClips and event observers to allow the object to be garbage collected.

Always call destroy() before deleting/removing object instance.
#
Specified by:

toString

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