套件 | mx.core |
介面 | public interface ISWFBridgeGroup extends IEventDispatcher |
實作者 | SWFBridgeGroup |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
parentBridge : IEventDispatcher
The bridge that is used to communicate
with this group's parent application. | ISWFBridgeGroup |
公用方法
方法 | 定義自 | ||
---|---|---|---|
Adds a new bridge to the pod. | ISWFBridgeGroup | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | IEventDispatcher | ||
Tests if the given bridge is one of the sandbox bridges in this group. | ISWFBridgeGroup | ||
會將事件傳送到事件流程。 | IEventDispatcher | ||
Gets the owner of a bridge and also the DisplayObject
that loaded the child. | ISWFBridgeGroup | ||
Gets all of the child bridges in this group. | ISWFBridgeGroup | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | IEventDispatcher | ||
Removes the child bridge. | ISWFBridgeGroup | ||
會從 EventDispatcher 物件移除偵聽程式。 | IEventDispatcher | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | IEventDispatcher |
屬性詳細資訊
parentBridge | 屬性 |
parentBridge:IEventDispatcher
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The bridge that is used to communicate with this group's parent application.
實作
public function get parentBridge():IEventDispatcher
public function set parentBridge(value:IEventDispatcher):void
方法詳細資訊
addChildBridge | () | 方法 |
public function addChildBridge(bridge:IEventDispatcher, bridgeProvider:ISWFBridgeProvider):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Adds a new bridge to the pod.
參數
bridge:IEventDispatcher — The bridge to communicate with the child content.
| |
bridgeProvider:ISWFBridgeProvider — The DisplayObject that loaded the content
represented by the bridge. Usually this is will be an instance of the SWFLoader class.
|
containsBridge | () | 方法 |
public function containsBridge(bridge:IEventDispatcher):Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Tests if the given bridge is one of the sandbox bridges in this group.
參數
bridge:IEventDispatcher — The bridge to test.
|
Boolean — true if the handle is found; otherwise false .
|
getChildBridgeProvider | () | 方法 |
public function getChildBridgeProvider(bridge:IEventDispatcher):ISWFBridgeProvider
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Gets the owner of a bridge and also the DisplayObject
that loaded the child.
This method is useful when an event is received
and the event.target
is the bridge.
The bridge can then be converted into the owning DisplayObject.
參數
bridge:IEventDispatcher — The target bridge.
|
ISWFBridgeProvider — The object that loaded the child.
|
getChildBridges | () | 方法 |
removeChildBridge | () | 方法 |
public function removeChildBridge(bridge:IEventDispatcher):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Removes the child bridge.
參數
bridge:IEventDispatcher — The bridge to remove.
|
Tue Jun 12 2018, 03:47 PM Z