EnterFrame

Kind of class:class
Inherits from:EventDispatcher < CoreObject
Version:06/27/07
Author:Aaron Clinger, Mike Creighton
Classpath:org.casaframework.time.EnterFrame
File last modified:Sunday, 19 August 2007, 13:43:33
Creates "onEnterFrame" events. Can be used instead of all onEnterFrame's, and to mimic the MovieClip property in object classes.
Since:
Flash Player 7
Example:
function onFrameFire():Void {
    trace("I will be called every frame.");
}

var pulseInstance:EnterFrame = EnterFrame.getInstance();
this.pulseInstance.addEventObserver(this, EnterFrame.EVENT_ENTER_FRAME, "onFrameFire");
Events broadcast to listeners:
onEnterFrame = function () {}

Summary

Class properties
Instance properties
Instance properties inherited from EventDispatcher
Instance properties inherited from CoreObject
Class methods

Class properties

EVENT_ENTER_FRAME

static EVENT_ENTER_FRAME:String = 'onEnterFrame'(read,write)

Class methods

getInstance

static function getInstance () : EnterFrame
Returns:
EnterFrame instance.