Packagesekati.events
Classpublic final class FramePulse
InheritanceFramePulse Inheritance flash.events.EventDispatcher

FramePulse proxies an ENTER_FRAME event to any non-DisplayObject classes which need to execute code on each frame tick.


Example
   FramePulse.$.addFrameListener( enterFrame );
   protected function enterFrame( e:Event ):void {
    trace( "pulse" );
   }
  



Public Properties
 PropertyDefined by
  $ : FramePulse
[static][read-only] Shorthand singleton accessor getter
FramePulse
Public Methods
 MethodDefined by
  
FramePulse($:SingletonEnforcer = null)
FramePulse Singleton Constructor
FramePulse
  
addFrameListener(handler:Function):void
FramePulse
  
destroy():void
Destroy the frame pulse and singleton instance.
FramePulse
  
[static] Singleton Accessor
FramePulse
  
removeFrameListener(handler:Function):void
FramePulse
Property detail
$property
$:FramePulse  [read-only]

Shorthand singleton accessor getter

Implementation
    public static function get $():FramePulse
Constructor detail
FramePulse()constructor
public function FramePulse($:SingletonEnforcer = null)

FramePulse Singleton Constructor

Parameters
$:SingletonEnforcer (default = null) — SingletonEnforcer internal to the AS file; this param prevents external instantiation without error.
Method detail
addFrameListener()method
public function addFrameListener(handler:Function):voidParameters
handler:Function
destroy()method 
public function destroy():void

Destroy the frame pulse and singleton instance.

getInstance()method 
public static function getInstance():FramePulse

Singleton Accessor

Returns
FramePulse — FramePulse
removeFrameListener()method 
public function removeFrameListener(handler:Function):voidParameters
handler:Function