Package | ardisia.browser |
Class | public class SafariMouseWheelFix |
Inheritance | SafariMouseWheelFix flash.events.EventDispatcher |
To use, simply initialize in <fx:Declarations> or in actionscript before the FlexEvent.ApplicationEvent event fires.
The MOUSE_WHEEL event dispatched by this class does not contain accurate keyDown, buttonDown data. However, stage positioning is correct.
Property | Defined By | ||
---|---|---|---|
CHECK_TEST_ID_CALLBACK : String = checkTestIdCallback | SafariMouseWheelFix | ||
MOUSE_WHEEL_CALLBACK : String = mouseWheelCallback | SafariMouseWheelFix |
Method | Defined By | ||
---|---|---|---|
SafariMouseWheelFix |
Method | Defined By | ||
---|---|---|---|
eventHandler(event:Event):void
Handles events on the component. | SafariMouseWheelFix | ||
isTestId(testString:String):Boolean
Called by the browser in javascript. | SafariMouseWheelFix | ||
mouseWheelUpdate(delta:Number):void
Called by javascript on mouseWheel events on the browser. | SafariMouseWheelFix |
CHECK_TEST_ID_CALLBACK | property |
protected var CHECK_TEST_ID_CALLBACK:String = checkTestIdCallback
MOUSE_WHEEL_CALLBACK | property |
protected var MOUSE_WHEEL_CALLBACK:String = mouseWheelCallback
SafariMouseWheelFix | () | Constructor |
public function SafariMouseWheelFix()
eventHandler | () | method |
protected function eventHandler(event:Event):void
Handles events on the component.
Parameters
event:Event — the Event that triggered the handler
|
isTestId | () | method |
protected function isTestId(testString:String):Boolean
Called by the browser in javascript. Tests whether the passed string is the test string.
Parameters
testString:String — the string to test against
|
Boolean — true on success
|
mouseWheelUpdate | () | method |
protected function mouseWheelUpdate(delta:Number):void
Called by javascript on mouseWheel events on the browser.
Parameters
delta:Number — Number
|