| Package | org.hasseg.externalMouseWheel |
| Class | public final class ExternalMouseWheelSupport |
| Inheritance | ExternalMouseWheelSupport flash.events.EventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
| dispatchingObjectDeterminationMethod : uint
Specifies the method of determining the InteractiveObject that will
be called to dispatch the external mouse wheel events received from
JavaScript.
| ExternalMouseWheelSupport | ||
| initialized : Boolean [read-only]
Whether or not the external mouse wheel support has been
successfully initialized.
| ExternalMouseWheelSupport | ||
| Method | Defined by | ||
|---|---|---|---|
|
getInstance(aStage:Stage):ExternalMouseWheelSupport
[static]
Returns the reference to the singleton instance of this class
| ExternalMouseWheelSupport | ||
| Constant | Defined by | ||
|---|---|---|---|
| COPY_MOUSEMOVE_EVENTS : uint = 0 [static]
A possible value for
dispatchingObjectDeterminationMethod. | ExternalMouseWheelSupport | ||
| TRAVERSE_DISPLAY_LIST : uint = 1 [static]
A possible value for
dispatchingObjectDeterminationMethod. | ExternalMouseWheelSupport | ||
| dispatchingObjectDeterminationMethod | property |
dispatchingObjectDeterminationMethod:uint [read-write]Specifies the method of determining the InteractiveObject that will be called to dispatch the external mouse wheel events received from JavaScript.
The possible values are:
| Constant to use | Description |
|---|---|
| ExternalMouseWheelSupport.COPY_MOUSEMOVE_EVENTS |
With this method, a mouseMove event listener will be
added to the Stage and the object to dispatch a mouse wheel
event when one arrives via JavaScript will be the same one
that was the target for the last such mouseMove
event.
|
| ExternalMouseWheelSupport.TRAVERSE_DISPLAY_LIST | With this method, each time a mouse wheel event arrives via JavaScript the object to dispatch the event will be determined by traversing the display list hierarchy and finding the topmost matching object under the mouse cursor. |
public function get dispatchingObjectDeterminationMethod():uint
public function set dispatchingObjectDeterminationMethod(value:uint):void
See also
| initialized | property |
initialized:Boolean [read-only]Whether or not the external mouse wheel support has been successfully initialized. Note that an unsuccessful initialization might mean that the support is simply not needed (i.e. if running in Windows Flash Player in a browser other than Safari.)
This property can be used as the source for data binding.
Implementation public function get initialized():Boolean
| getInstance | () | method |
public static function getInstance(aStage:Stage):ExternalMouseWheelSupportReturns the reference to the singleton instance of this class
ParametersaStage:Stage — Reference to the Stage object (required!)
|
ExternalMouseWheelSupport —
Reference to the singleton instance of this class
|
| COPY_MOUSEMOVE_EVENTS | constant |
public static const COPY_MOUSEMOVE_EVENTS:uint = 0
A possible value for dispatchingObjectDeterminationMethod.
See also
| TRAVERSE_DISPLAY_LIST | constant |
public static const TRAVERSE_DISPLAY_LIST:uint = 1
A possible value for dispatchingObjectDeterminationMethod.
See also