Packagesekati.external
Classpublic final class ExternalMouseWheel
InheritanceExternalMouseWheel Inheritance flash.events.EventDispatcher

ExternalMouseWheel adds mouse wheel support for Mac clients: This is accomplished via capturing the mouseWheel event in javascript with ExternalInterface and dispatching an ExternalMouseWheelEvent. These events will only be dispatched if the client is a Mac.



Public Properties
 PropertyDefined by
  $ : ExternalMouseWheel
[static][read-only] Shorthand singleton accessor getter
ExternalMouseWheel
Public Methods
 MethodDefined by
  
ExternalMouseWheel($:SingletonEnforcer = null)
ExternalMouseWheel Singleton Constructor
ExternalMouseWheel
  
[static] Singleton Accessor
ExternalMouseWheel
  
init():void
Initialize.
ExternalMouseWheel
Protected Methods
 MethodDefined by
  
externalMouseEvent(delta:int):void
Catch the callback from javascript and dispatch an ExternalMouseEvent to mac clients.
ExternalMouseWheel
  
timerHandler(e:TimerEvent):void
ExternalMouseWheel
Property detail
$property
$:ExternalMouseWheel  [read-only]

Shorthand singleton accessor getter

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

ExternalMouseWheel Singleton Constructor

Parameters
$:SingletonEnforcer (default = null) — SingletonEnforcer - internal to the AS file; the param prevents external instantiation without error.
Method detail
externalMouseEvent()method
protected function externalMouseEvent(delta:int):void

Catch the callback from javascript and dispatch an ExternalMouseEvent to mac clients.

Parameters
delta:int — - mousewheel delta.
getInstance()method 
public static function getInstance():ExternalMouseWheel

Singleton Accessor

Returns
ExternalMouseWheel — ExternalMouseWheel
init()method 
public function init():void

Initialize.

timerHandler()method 
protected function timerHandler(e:TimerEvent):voidParameters
e:TimerEvent