適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
mx.automation 

IAutomationMouseSimulator  - AS3 Flex

套件mx.automation
介面public interface IAutomationMouseSimulator
實作者 AutomationManager

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: 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.

更多範例

相關 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.




[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。