패키지 | mx.managers |
인터페이스 | public interface IMarshalSystemManager |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
속성 | 정의 주체 | ||
---|---|---|---|
swfBridgeGroup : ISWFBridgeGroup
Contains all the bridges to other applications
that this application is connected to. | IMarshalSystemManager |
메서드 | 정의 주체 | ||
---|---|---|---|
Adds a child bridge to the system manager. | IMarshalSystemManager | ||
Adds the specified child to the sandbox root in the layer requested. | IMarshalSystemManager | ||
dispatchEventFromSWFBridges(event:Event, skip:IEventDispatcher = null, trackClones:Boolean = false, toOtherSystemManagers:Boolean = false):void
Dispatch a message to all parent and child applications in this SystemManager's SWF bridge group, regardless of
whether they are in the same SecurityDomain or not. | IMarshalSystemManager | ||
Tests if a display object is in a child application
that is loaded in compatibility mode or in an untrusted sandbox. | IMarshalSystemManager | ||
Adds a child bridge to the system manager. | IMarshalSystemManager | ||
Removes the specified child from the sandbox root in the layer requested. | IMarshalSystemManager | ||
Determines if the caller using this system manager
should should communicate directly with other managers
or if it should communicate with a bridge. | IMarshalSystemManager |
swfBridgeGroup | 속성 |
swfBridgeGroup:ISWFBridgeGroup
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Contains all the bridges to other applications that this application is connected to.
구현
public function get swfBridgeGroup():ISWFBridgeGroup
public function set swfBridgeGroup(value:ISWFBridgeGroup):void
addChildBridge | () | 메서드 |
public function addChildBridge(bridge:IEventDispatcher, owner:DisplayObject):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Adds a child bridge to the system manager. Each child bridge represents components in another sandbox or compiled with a different version of Flex.
매개 변수
bridge:IEventDispatcher — The bridge for the child.
| |
owner:DisplayObject — The SWFLoader for the child.
|
addChildToSandboxRoot | () | 메서드 |
public function addChildToSandboxRoot(layer:String, child:DisplayObject):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Adds the specified child to the sandbox root in the layer requested.
매개 변수
layer:String — The name of IChildList in SystemManager.
| |
child:DisplayObject — The DisplayObject to add.
|
dispatchEventFromSWFBridges | () | 메서드 |
public function dispatchEventFromSWFBridges(event:Event, skip:IEventDispatcher = null, trackClones:Boolean = false, toOtherSystemManagers:Boolean = false):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Dispatch a message to all parent and child applications in this SystemManager's SWF bridge group, regardless of whether they are in the same SecurityDomain or not. You can optionally exclude an application with this method's parameters.
매개 변수
event:Event — The event to dispatch.
| |
skip:IEventDispatcher (default = null ) — Specifies an IEventDispatcher that you do not want to dispatch a message to. This is typically used to skip the
IEventDispatcher that originated the event.
| |
trackClones:Boolean (default = false ) — Whether to keep a reference to the events as they are dispatched.
| |
toOtherSystemManagers:Boolean (default = false ) — Whether to dispatch the event to other top-level SystemManagers in AIR.
|
isDisplayObjectInABridgedApplication | () | 메서드 |
public function isDisplayObjectInABridgedApplication(displayObject:DisplayObject):Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Tests if a display object is in a child application that is loaded in compatibility mode or in an untrusted sandbox.
매개 변수
displayObject:DisplayObject — The DisplayObject to test.
|
Boolean — true if displayObject
is in a child application that is loaded in compatibility mode
or in an untrusted sandbox, and false otherwise.
|
removeChildBridge | () | 메서드 |
public function removeChildBridge(bridge:IEventDispatcher):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Adds a child bridge to the system manager. Each child bridge represents components in another sandbox or compiled with a different version of Flex.
매개 변수
bridge:IEventDispatcher — The bridge for the child.
|
removeChildFromSandboxRoot | () | 메서드 |
public function removeChildFromSandboxRoot(layer:String, child:DisplayObject):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Removes the specified child from the sandbox root in the layer requested.
매개 변수
layer:String — The name of IChildList in SystemManager.
| |
child:DisplayObject — The DisplayObject to add.
|
useSWFBridge | () | 메서드 |
public function useSWFBridge():Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Determines if the caller using this system manager should should communicate directly with other managers or if it should communicate with a bridge.
반환값Boolean — true if the caller using this system manager
should communicate using sandbox bridges.
If false the system manager may directly call
other managers directly via references.
|
Tue Jun 12 2018, 03:17 PM Z