套件 | mx.events |
類別 | public class SandboxMouseEvent |
繼承 | SandboxMouseEvent Event Object |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
屬性 | 定義自 | ||
---|---|---|---|
altKey : Boolean
Indicates whether the Alt key was pressed. | SandboxMouseEvent | ||
bubbles : Boolean [唯讀]
指出事件是否為反昇事件。 | Event | ||
buttonDown : Boolean
Indicates whether the primary mouse button is pressed (true) or not (false). | SandboxMouseEvent | ||
cancelable : Boolean [唯讀]
指出是否可避免與事件相關聯的行為指令。 | Event | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
ctrlKey : Boolean
Indicates whether the Ctrl key was pressed. | SandboxMouseEvent | ||
currentTarget : Object [唯讀]
正主動使用事件偵聽程式處理 Event 物件的物件。 | Event | ||
eventPhase : uint [唯讀]
事件流程中的目前階段。 | Event | ||
shiftKey : Boolean
Indicates whether the Shift key was pressed. | SandboxMouseEvent | ||
target : Object [唯讀]
事件目標。 | Event | ||
type : String [唯讀]
事件類型。 | Event |
方法 | 定義自 | ||
---|---|---|---|
SandboxMouseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false)
Constructor. | SandboxMouseEvent | ||
複製 Event 子類別的實體。 | Event | ||
公用程式函數,可用來實作自訂 ActionScript 3.0 Event 類別中的 toString() 方法。 | Event | ||
指出物件是否有已定義的指定屬性。 | Object | ||
檢查是否已經對事件呼叫 preventDefault() 方法。 | Event | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
[靜態]
Marshal a SWFBridgeRequest from a remote ApplicationDomain into the current
ApplicationDomain. | SandboxMouseEvent | ||
如果可以取消事件的預設行為指令,則取消該行為指令。 | Event | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
避免處理事件流程中,目前節點以及任何後續節點中的任何事件偵聽程式。 | Event | ||
避免處理接續在事件流程中的目前節點之後,後續節點中的任何事件偵聽程式。 | Event | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
傳回包含 Event 物件所有屬性的字串。 | Event | ||
會傳回指定之物件的基本值。 | Object |
常數 | 定義自 | ||
---|---|---|---|
CLICK_SOMEWHERE : String = "clickSomewhere" [靜態]
Mouse was clicked somewhere outside your sandbox. | SandboxMouseEvent | ||
DOUBLE_CLICK_SOMEWHERE : String = "doubleClickSomewhere" [靜態]
Mouse was double-clicked somewhere outside your sandbox. | SandboxMouseEvent | ||
MOUSE_DOWN_SOMEWHERE : String = "mouseDownSomewhere" [靜態]
Mouse button was pressed down somewhere outside your sandbox. | SandboxMouseEvent | ||
MOUSE_MOVE_SOMEWHERE : String = "mouseMoveSomewhere" [靜態]
Mouse was moved somewhere outside your sandbox. | SandboxMouseEvent | ||
MOUSE_UP_SOMEWHERE : String = "mouseUpSomewhere" [靜態]
Mouse button was released somewhere outside your sandbox. | SandboxMouseEvent | ||
MOUSE_WHEEL_SOMEWHERE : String = "mouseWheelSomewhere" [靜態]
Mouse wheel was spun somewhere outside your sandbox. | SandboxMouseEvent |
altKey | 屬性 |
public var altKey:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Indicates whether the Alt
key was pressed.
相關 API 元素
buttonDown | 屬性 |
public var buttonDown:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Indicates whether the primary mouse button is pressed (true) or not (false).
相關 API 元素
ctrlKey | 屬性 |
public var ctrlKey:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Indicates whether the Ctrl
key was pressed.
相關 API 元素
shiftKey | 屬性 |
public var shiftKey:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Indicates whether the Shift
key was pressed.
相關 API 元素
SandboxMouseEvent | () | 建構函式 |
public function SandboxMouseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false)
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Constructor.
參數type:String — The event type; indicates the action that caused the event.
| |
bubbles:Boolean (default = false ) — Specifies whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean (default = false ) — Specifies whether the behavior associated with the event can be prevented.
| |
ctrlKey:Boolean (default = false ) — Indicates whether the Ctrl key was pressed.
| |
altKey:Boolean (default = false ) — Indicates whether the Alt key was pressed.
| |
shiftKey:Boolean (default = false ) — Indicates whether the Shift key was pressed.
| |
buttonDown:Boolean (default = false ) — Indicates whether the primary mouse button is pressed (true) or not (false).
|
marshal | () | 方法 |
public static function marshal(event:Event):SandboxMouseEvent
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Marshal a SWFBridgeRequest from a remote ApplicationDomain into the current ApplicationDomain.
參數
event:Event — A SWFBridgeRequest that might have been created in a different ApplicationDomain.
|
SandboxMouseEvent — A SandboxMouseEvent created in the caller's ApplicationDomain.
|
CLICK_SOMEWHERE | 常數 |
public static const CLICK_SOMEWHERE:String = "clickSomewhere"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Mouse was clicked somewhere outside your sandbox.
DOUBLE_CLICK_SOMEWHERE | 常數 |
public static const DOUBLE_CLICK_SOMEWHERE:String = "doubleClickSomewhere"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Mouse was double-clicked somewhere outside your sandbox.
MOUSE_DOWN_SOMEWHERE | 常數 |
public static const MOUSE_DOWN_SOMEWHERE:String = "mouseDownSomewhere"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Mouse button was pressed down somewhere outside your sandbox.
MOUSE_MOVE_SOMEWHERE | 常數 |
public static const MOUSE_MOVE_SOMEWHERE:String = "mouseMoveSomewhere"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Mouse was moved somewhere outside your sandbox.
MOUSE_UP_SOMEWHERE | 常數 |
public static const MOUSE_UP_SOMEWHERE:String = "mouseUpSomewhere"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Mouse button was released somewhere outside your sandbox.
MOUSE_WHEEL_SOMEWHERE | 常數 |
public static const MOUSE_WHEEL_SOMEWHERE:String = "mouseWheelSomewhere"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Mouse wheel was spun somewhere outside your sandbox.
Tue Jun 12 2018, 03:47 PM Z