EnterFrame
Kind of class: | class |
---|---|
Inherits from: | EventDispatcher < CoreObject |
Version: | 06/27/07 |
Author: | Aaron Clinger, Mike Creighton |
Classpath: | org.casalib.time.EnterFrame |
File last modified: | Monday, 01 December 2008, 13:34: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 broadcasted to listeners:
onEnterFrame = function () {}
Summary
Class properties
- EVENT_ENTER_FRAME : String
Class methods
Instance methods
Instance methods inherited from EventDispatcher
Instance methods inherited from CoreObject
Class properties
EVENT_ENTER_FRAME
static EVENT_ENTER_FRAME:String = 'onEnterFrame'
(read,write)