Access keys

EnterFrame

Kind of class: class
Inherits from: EventDispatcher < CoreObject
Version: 10/16/06
Author: Aaron Clinger, Mike Creighton
Classpath: org.casaframework.time.EnterFrame
File last modified: Wednesday, 24 January 2007, 21:45:40
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 (
Returns:
EnterFrame instance.