Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The IAutomationMouseSimulator interface describes an object
that simulates mouse movement so that components
capturing the mouse use the simulated versions of the mouse
cursor instead of the live Flash Player version. Implementors of
the IUIComponent interface should override the
mouseX
and
mouseY
properties and
call the active simulator's version if a simulator is present.
public function getMouseX(item:DisplayObject):Number
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Called when a DisplayObject retrieves the mouseX
property.
Parameters
| item:DisplayObject — DisplayObject that simulates mouse movement.
|
Returns | Number — The x coordinate of the mouse position relative to item.
|
public function getMouseY(item:DisplayObject):Number
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Called when a DisplayObject retrieves mouseY
property.
Parameters
| item:DisplayObject — DisplayObject that simulates mouse movement.
|
Returns | Number — The y coordinate of the mouse position relative to item.
|