套件 | mx.core |
介面 | public interface ISWFLoader extends ISWFBridgeProvider |
實作者 | SWFLoader |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
childAllowsParent : Boolean [唯讀]
Tests if the child allows its parent to access its display objects or listen
to messages that originate in the child. | ISWFBridgeProvider | ||
loadForCompatibility : Boolean
A flag that indicates whether the content is loaded so that it can
interoperate with applications that were built with a different verion of Flex. | ISWFLoader | ||
parentAllowsChild : Boolean [唯讀]
Tests if the parent allows its child to access its display objects or listen
to messages that originate in the parent. | ISWFBridgeProvider | ||
swfBridge : IEventDispatcher [唯讀]
A bridge to the application that is associated with the implementor of this
interface. | ISWFBridgeProvider |
公用方法
方法 | 定義自 | ||
---|---|---|---|
Get the bounds of the loaded application that are visible to the user
on the screen. | ISWFLoader |
屬性詳細資訊
loadForCompatibility | 屬性 |
loadForCompatibility:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
A flag that indicates whether the content is loaded so that it can
interoperate with applications that were built with a different verion of Flex.
Compatibility with other Flex Applications is accomplished by loading
the application into a sibling (or peer) ApplicationDomain.
This flag is ignored if the sub application is loaded into a different
SecurityDomain than the main application.
If true
, the content loads into a sibling ApplicationDomain.
If false
, the content loaded into a child ApplicationDomain.
預設值為 false。
實作
public function get loadForCompatibility():Boolean
public function set loadForCompatibility(value:Boolean):void
方法詳細資訊
getVisibleApplicationRect | () | 方法 |
public function getVisibleApplicationRect(allApplications:Boolean = false):Rectangle
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Get the bounds of the loaded application that are visible to the user on the screen.
參數
allApplications:Boolean (default = false ) — Determine if the visible rectangle is calculated based only on the
display objects in this application or all parent applications as well.
Including more parent applications might reduce the visible area returned.
If true , then all applications are used to find the visible
area, otherwise only the display objects in this application are used.
|
Rectangle — A Rectangle that includes the visible portion of this
object. The rectangle uses global coordinates.
|
Tue Jun 12 2018, 03:47 PM Z