套件 | mx.automation |
介面 | public interface IAutomationMouseSimulator |
實作者 | AutomationManager |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
mouseX
and mouseY
properties and
call the active simulator's version if a simulator is present.
更多範例
相關 API 元素
公用方法
方法 | 定義自 | ||
---|---|---|---|
Called when a DisplayObject retrieves the mouseX property. | IAutomationMouseSimulator | ||
Called when a DisplayObject retrieves mouseY property. | IAutomationMouseSimulator |
方法詳細資訊
getMouseX | () | 方法 |
public function getMouseX(item:DisplayObject):Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Called when a DisplayObject retrieves the mouseX
property.
參數
item:DisplayObject — DisplayObject that simulates mouse movement.
|
Number — The x coordinate of the mouse position relative to item.
|
getMouseY | () | 方法 |
public function getMouseY(item:DisplayObject):Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Called when a DisplayObject retrieves mouseY
property.
參數
item:DisplayObject — DisplayObject that simulates mouse movement.
|
Number — The y coordinate of the mouse position relative to item.
|
Tue Jun 12 2018, 03:47 PM Z