Package | mx.core |
Class | public class SWFBridgeGroup |
Inheritance | SWFBridgeGroup ![]() |
Implements | ISWFBridgeGroup |
Property | Defined By | ||
---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
parentBridge : IEventDispatcher
Allows communication with the parent
if the parent is in a different sandbox. | SWFBridgeGroup | ||
![]() | prototype : Object [static]
A reference to the prototype object of a class or function object. | Object |
Method | Defined By | ||
---|---|---|---|
SWFBridgeGroup(owner:ISystemManager)
Constructor. | SWFBridgeGroup | ||
Adds a new bridge to the pod. | SWFBridgeGroup | ||
Tests if the given bridge is one of the sandbox bridges in this group. | SWFBridgeGroup | ||
Gets the owner of a bridge and also the DisplayObject
that loaded the child. | SWFBridgeGroup | ||
Gets all of the child bridges in this group. | SWFBridgeGroup | ||
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
Removes the child bridge. | SWFBridgeGroup | ||
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object |
parentBridge | property |
parentBridge:IEventDispatcher
Allows communication with the parent
if the parent is in a different sandbox.
May be null
if the parent is in the same sandbox
or this is the top-level root application.
public function get parentBridge():IEventDispatcher
public function set parentBridge(value:IEventDispatcher):void
SWFBridgeGroup | () | Constructor |
public function SWFBridgeGroup(owner:ISystemManager)
Constructor.
Parametersowner:ISystemManager — The DisplayObject that owns this group.
This should be the SystemManager of an application.
|
addChildBridge | () | method |
public function addChildBridge(bridge:IEventDispatcher, bridgeProvider:ISWFBridgeProvider):void
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
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
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
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
Removes the child bridge.
Parameters
bridge:IEventDispatcher — The bridge to remove.
|