CoreObject
Kind of class: | class |
---|---|
Inherits from: | none |
Implements: | |
Known subclasses: | |
Version: | 02/06/07 |
Author: | Toby Boudreaux, David Nelson, Aaron Clinger |
Classpath: | org.casalib.core.CoreObject |
File last modified: | Monday, 01 December 2008, 13:34:40 |
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
# Always call
[object Object]
before deleting last object pointer.Example:
-
this.myObject.destroy(); delete this.myObject;
Specified by: