Packageorg.openzoom.flash.utils
Classpublic final class ExternalMouseWheel
InheritanceExternalMouseWheel Inheritance flash.events.EventDispatcher

The ExternalMouseWheel class provices support for the mouse wheel on systems where the Flash Player does not natively support this capability. Refactored for the use in OpenZoom from SWFWheel class in LibSpark project using the ActionScript / JavaScript ExternalInterface injection technique described in the following article:

See also

http://www.actionscript.org/resources/articles/745/1/JavaScript-and-VBScript-Injection-in-ActionScript-3/Page1.html


Public Methods
 MethodDefined by
  
ExternalMouseWheel(stage:Stage, enforcer:SingletonEnforcer)
Constructor.
ExternalMouseWheel
  
initialize(stage:Stage):void
[static] Initialize this class once in your application.
ExternalMouseWheel
Constructor detail
ExternalMouseWheel()constructor
public function ExternalMouseWheel(stage:Stage, enforcer:SingletonEnforcer)

Constructor.

Parameters
stage:Stage
 
enforcer:SingletonEnforcer
Method detail
initialize()method
public static function initialize(stage:Stage):void

Initialize this class once in your application. Make sure that your embedded Flash movie has an id and name.

Parameters
stage:Stage