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: | Wednesday, 07 March 2007, 14:18:35 |
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
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
destroy() before deleting last object pointer.Example:
this.myObject.destroy(); delete this.myObject;
Specified by: