(Flex Data Visualization only)
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
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
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.
|
© 2004-2007 Adobe Systems Incorporated. All rights reserved.
Fri Feb 15 2008, 2:47 AM GMT-08:00