Package | mx.core |
Interface | public interface ISWFBridgeGroup extends IEventDispatcher |
Implementors | SWFBridgeGroup |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Public Properties
Property | Defined By | ||
---|---|---|---|
parentBridge : IEventDispatcher
The bridge that is used to communicate
with this group's parent application. | ISWFBridgeGroup |
Public Methods
Method | Defined By | ||
---|---|---|---|
Adds a new bridge to the pod. | ISWFBridgeGroup | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | IEventDispatcher | ||
Tests if the given bridge is one of the sandbox bridges in this group. | ISWFBridgeGroup | ||
Dispatches an event into the event flow. | 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 | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | IEventDispatcher | ||
Removes the child bridge. | ISWFBridgeGroup | ||
Removes a listener from the EventDispatcher object. | IEventDispatcher | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | IEventDispatcher |
Property Detail
parentBridge | property |
parentBridge:IEventDispatcher
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The bridge that is used to communicate with this group's parent application.
Implementation
public function get parentBridge():IEventDispatcher
public function set parentBridge(value:IEventDispatcher):void
Method Detail
addChildBridge | () | method |
public function addChildBridge(bridge:IEventDispatcher, bridgeProvider:ISWFBridgeProvider):void
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Adds a new bridge to the pod.
Parameters
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 | () | method |
public function containsBridge(bridge:IEventDispatcher):Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Tests if the given bridge is one of the sandbox bridges in this group.
Parameters
bridge:IEventDispatcher — The bridge to test.
|
Boolean — true if the handle is found; otherwise false .
|
getChildBridgeProvider | () | method |
public function getChildBridgeProvider(bridge:IEventDispatcher):ISWFBridgeProvider
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | 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.
Parameters
bridge:IEventDispatcher — The target bridge.
|
ISWFBridgeProvider — The object that loaded the child.
|
getChildBridges | () | method |
public function getChildBridges():Array
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Gets all of the child bridges in this group.
ReturnsArray — An array of all the child bridges in this group.
Each object in the array is of type IEventDispatcher .
|
removeChildBridge | () | method |
public function removeChildBridge(bridge:IEventDispatcher):void
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Removes the child bridge.
Parameters
bridge:IEventDispatcher — The bridge to remove.
|
Thu Dec 6 2018, 01:12 PM -08:00