套件 | mx.managers |
類別 | public class WindowedSystemManager |
繼承 | WindowedSystemManager MovieClip Sprite DisplayObjectContainer InteractiveObject DisplayObject EventDispatcher Object |
實作 | ISystemManager |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
As this comparison suggests, the WindowedSystemManager class serves many roles. For instance, it is the root display object of a Window, and manages tooltips, cursors, popups, and other content for the Window.
相關 API 元素
屬性 | 定義自 | ||
---|---|---|---|
accessibilityImplementation : AccessibilityImplementation
對此 InteractiveObject 實體目前的輔助功能實作 (AccessibilityImplementation)。 | InteractiveObject | ||
accessibilityProperties : AccessibilityProperties
此顯示物件的目前輔助功能選項。 | DisplayObject | ||
allowDomainsInNewRSLs : Boolean
Controls whether the domains allowed by calls to allowDomain()
are also allowed by RSLs loaded after the call. | WindowedSystemManager | ||
allowInsecureDomainsInNewRSLs : Boolean
Controls whether the domains allowed by calls to allowInsecureDomain()
are also allowed by RSLs loaded after the call. | WindowedSystemManager | ||
alpha : Number
指出所指定物件的 Alpha 透明度值。 | DisplayObject | ||
blendMode : String
來自 BlendMode 類別的值,會指定要使用何種混合模式。 | DisplayObject | ||
blendShader : Shader [唯寫]
設定用來混合前景和背景的著色器。 | DisplayObject | ||
buttonMode : Boolean
可指定此 sprite 的按鈕模式。 | Sprite | ||
cacheAsBitmap : Boolean
如果設定為 true,Flash 執行階段會快取顯示物件的內部點陣圖表示法。 | DisplayObject | ||
cacheAsBitmapMatrix : Matrix
如果為非 null,當 cacheAsBitmap 設定為 true 時,這個 Matrix 物件會定義顯示物件的顯示方法。 | DisplayObject | ||
childAllowsParent : Boolean [唯讀]
| WindowedSystemManager | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
contextMenu : NativeMenu
指定與此物件有關聯的快顯選單。 | InteractiveObject | ||
currentFrame : int [唯讀]
指定在影片片段實體時間軸上,播放磁頭所在的影格編號。 | MovieClip | ||
currentFrameLabel : String [唯讀]
MovieClip 實體之時間軸的目前影格中的標籤。 | MovieClip | ||
currentLabel : String [唯讀]
在 MovieClip 實體時間軸中,播放磁頭所在的目前標籤。 | MovieClip | ||
currentLabels : Array [唯讀]
從目前場景傳回 FrameLabel 物件陣列。 | MovieClip | ||
currentScene : Scene [唯讀]
在 MovieClip 實體時間軸中,播放磁頭所在的目前場景。 | MovieClip | ||
cursorChildren : IChildList [唯讀]
An list of the custom cursors
being parented by this ISystemManager. | WindowedSystemManager | ||
document : Object
A reference to the document object. | WindowedSystemManager | ||
doubleClickEnabled : Boolean
會指定物件是否會收到 doubleClick 事件。 | InteractiveObject | ||
dropTarget : DisplayObject [唯讀]
指定要將 sprite 拖曳至或丟棄至哪個顯示物件上。 | Sprite | ||
embeddedFontList : Object [唯讀]
A table of embedded fonts in this application. | WindowedSystemManager | ||
enabled : Boolean
這是一個 Boolean 值,用來指示影片片段是否已啟用。 | MovieClip | ||
filters : Array
索引的陣列,其中包含目前和顯示物件相關的每個濾鏡物件。 | DisplayObject | ||
focusPane : Sprite
The focus pane associated with this object. | WindowedSystemManager | ||
focusRect : Object
會指定這個物件是否會顯示焦點矩形。 | InteractiveObject | ||
framesLoaded : int [唯讀]
從串流 SWF 檔中載入的影格數目。 | MovieClip | ||
graphics : Graphics [唯讀]
指定屬於此 sprite 物件的 Graphics 物件,其中可能會產生向量繪圖命令。 | Sprite | ||
height : Number [覆寫]
The height of this object. | WindowedSystemManager | ||
hitArea : Sprite
指定用來當作 sprite 作用區域的另一個 sprite。 | Sprite | ||
isPlaying : Boolean [唯讀]
Boolean 值,指示目前是否正在播放影片片段。 | MovieClip | ||
isProxy : Boolean [唯讀]
True if SystemManager is a proxy and not a root class
| WindowedSystemManager | ||
loaderInfo : LoaderInfo [唯讀]
會傳回 LoaderInfo 物件,其中包含關於載入此顯示物件所屬之檔案的資訊。 | DisplayObject | ||
mask : DisplayObject
呼叫之顯示物件會以指定的 mask 物件遮蓋。 | DisplayObject | ||
metaData : Object
如果中繼資料是透過 PlaceObject4 標籤與 SWF 檔案中的這個 DisplayObject 實體一同儲存,則會取得 DisplayObject 實體的中繼資料物件。 | DisplayObject | ||
mouseChildren : Boolean
判斷物件的子系是否支援啟用滑鼠或使用者輸入裝置。 | DisplayObjectContainer | ||
mouseEnabled : Boolean
指定此物件是否接收滑鼠或其他使用者輸入及訊息。 | InteractiveObject | ||
mouseX : Number [唯讀]
指出滑鼠或使用者輸入裝置位置的 x 座標,以像素為單位。 | DisplayObject | ||
mouseY : Number [唯讀]
指出滑鼠或使用者輸入裝置位置的 y 座標,以像素為單位。 | DisplayObject | ||
name : String
指出 DisplayObject 的實體名稱。 | DisplayObject | ||
needsSoftKeyboard : Boolean
指定虛擬鍵盤 (螢幕上的軟體鍵盤) 是否應在此 InteractiveObject 實體接收到焦點時顯示。 | InteractiveObject | ||
numChildren : int [覆寫] [唯讀]
The number of non-floating windows. | WindowedSystemManager | ||
numModalWindows : int
The number of modal windows. | WindowedSystemManager | ||
opaqueBackground : Object
會指定顯示物件是否不透明,並具有特定背景顏色。 | DisplayObject | ||
parent : DisplayObjectContainer [唯讀]
指出包含此顯示物件的 DisplayObjectContainer 物件。 | DisplayObject | ||
parentAllowsChild : Boolean [唯讀]
| WindowedSystemManager | ||
popUpChildren : IChildList [唯讀]
An list of the topMost (popup)
windows being parented by this ISystemManager. | WindowedSystemManager | ||
rawChildren : IChildList [唯讀]
A list of all children
being parented by this ISystemManager. | WindowedSystemManager | ||
root : DisplayObject [唯讀]
對載入之 SWF 檔案的顯示物件而言,root 屬性就是該 SWF 檔案所呈現之顯示清單樹狀結構部分的最上層顯示物件。 | DisplayObject | ||
rotation : Number
指出 DisplayObject 實體的旋轉度數 (從該物件原本方向算起)。 | DisplayObject | ||
rotationX : Number
表示 DisplayObject 實體相對於 3D 父輩容器從原始方向旋轉的 x 軸旋轉 (以度數為單位)。 | DisplayObject | ||
rotationY : Number
表示 DisplayObject 實體相對於 3D 父輩容器從原始方向旋轉的 y 軸旋轉 (以度數為單位)。 | DisplayObject | ||
rotationZ : Number
表示 DisplayObject 實體相對於 3D 父輩容器從原始方向旋轉的 z 軸旋轉 (以度數為單位)。 | DisplayObject | ||
scale9Grid : Rectangle
目前產生效用的縮放格線。 | DisplayObject | ||
scaleX : Number
指出從註冊點套用的物件水平縮放 (百分比)。 | DisplayObject | ||
scaleY : Number
指出從物件註冊點套用的物件垂直縮放 (百分比)。 | DisplayObject | ||
scaleZ : Number
指出從物件註冊點套用的物件深度縮放 (百分比)。 | DisplayObject | ||
scenes : Array [唯讀]
Scene 物件的陣列,每個 Scene 物件都會列出 MovieClip 實體場景的名稱、影格數目,以及影格標籤。 | MovieClip | ||
screen : Rectangle [唯讀]
The size and position of the application window. | WindowedSystemManager | ||
scrollRect : Rectangle
顯示物件的捲動矩形範圍。 | DisplayObject | ||
softKeyboard : String
控制軟體鍵盤的外觀。 | InteractiveObject | ||
softKeyboardInputAreaOfInterest : Rectangle
定義顯示軟體鍵盤時,應保留於螢幕上的區域 (iOS 未提供)。 | InteractiveObject | ||
soundTransform : flash.media:SoundTransform
控制此 Sprite 的聲音。 | Sprite | ||
stage : Stage [唯讀]
顯示物件的「舞台」。 | DisplayObject | ||
tabChildren : Boolean
判斷物件的子系是否支援啟用定位鍵。 | DisplayObjectContainer | ||
tabEnabled : Boolean
會指定這個物件是否在停駐點順序中。 | InteractiveObject | ||
tabIndex : int
會指定 SWF 檔中的物件停駐點順序。 | InteractiveObject | ||
textSnapshot : flash.text:TextSnapshot [唯讀]
傳回此 DisplayObjectContainer 實體的 TextSnapshot 物件。 | DisplayObjectContainer | ||
toolTipChildren : IChildList [唯讀]
A list of the tooltips
being parented by this ISystemManager. | WindowedSystemManager | ||
topLevelSystemManager : ISystemManager [唯讀]
Returns the SystemManager responsible for the application window. | WindowedSystemManager | ||
totalFrames : int [唯讀]
MovieClip 實體中的影格總數。 | MovieClip | ||
trackAsMenu : Boolean
指出屬於 SimpleButton 或 MovieClip 物件的其他顯示工具是否可以接收滑鼠放開事件或其他使用者輸入放開事件。 | MovieClip | ||
transform : flash.geom:Transform
這是一個物件,具有和顯示物件的矩陣、顏色轉換和像素邊界有關的屬性。 | DisplayObject | ||
useHandCursor : Boolean
指示當指標滑入 Sprite,且其 buttonMode 屬性設為 true 時,是否要出現指示手掌 (手掌游標) 的 Boolean 值。 | Sprite | ||
visible : Boolean
不管是否看得見顯示物件。 | DisplayObject | ||
width : Number [覆寫]
The width of this object. | WindowedSystemManager | ||
x : Number
指出 DisplayObject 實體相對於父輩 DisplayObjectContainer 之區域座標的 x 座標。 | DisplayObject | ||
y : Number
指出 DisplayObject 實體相對於父輩 DisplayObjectContainer 之區域座標的 y 座標。 | DisplayObject | ||
z : Number
表示 DisplayObject 實體相對於 3D 父輩容器的 z 座標位置 (沿著 z 軸)。 | DisplayObject |
方法 | 定義自 | ||
---|---|---|---|
WindowedSystemManager(rootObj:IUIComponent) | WindowedSystemManager | ||
將 DisplayObject 子實體加入至此 DisplayObjectContainer 實體。 | DisplayObjectContainer | ||
將 DisplayObject 子實體加入至此 DisplayObjectContainer 實體。 | DisplayObjectContainer | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
指出安全性限制是否會造成傳回的清單 (可用指定的 point 點呼叫 DisplayObjectContainer.getObjectsUnderPoint() 方法來取得) 省略任何顯示物件。 | DisplayObjectContainer | ||
This method should not be called on WindowedSystemManager. | WindowedSystemManager | ||
判斷指定的顯示物件是否為 DisplayObjectContainer 實體的子系,或為實體本身。 | DisplayObjectContainer | ||
This method is overridden in the autogenerated subclass. | WindowedSystemManager | ||
Deploy or remove mouse shields. | WindowedSystemManager | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
傳回可定義顯示物件區域 (相對於 targetCoordinateSpace 物件的座標系統) 的矩形。 | DisplayObject | ||
傳回存在於指定索引位置的子顯示物件實體。 | DisplayObjectContainer | ||
傳回具有指定名稱的子顯示物件。 | DisplayObjectContainer | ||
傳回 child DisplayObject 實體的索引位置。 | DisplayObjectContainer | ||
Converts the given String to a Class or package-level Function. | WindowedSystemManager | ||
Return the object the player sees as having focus. | WindowedSystemManager | ||
傳回位於指定點底下,且屬於此 DisplayObjectContainer 實體之子系 (或孫系,以下類推) 的物件陣列。 | DisplayObjectContainer | ||
根據 targetCoordinateSpace 參數所定義的座標系統,並排除形狀上的任何筆畫,傳回可定義顯示物件邊界的矩形。 | DisplayObject | ||
Go up our parent chain to get the top level system manager in this
SecurityDomain
| WindowedSystemManager | ||
Go up our parent chain to get the top level system manager. | WindowedSystemManager | ||
WindowedSystemManager | |||
將 point 物件從「舞台」(全域) 座標轉換成顯示物件的 (區域) 座標。 | DisplayObject | ||
將二維點從「舞台」(全域) 座標轉換為三維顯示物件的 (區域) 座標。 | DisplayObject | ||
在指定影格開始播放 SWF 檔。 | MovieClip | ||
將播放磁頭移到此影片片段中的指定影格,然後停在該處。 | MovieClip | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
評估顯示物件的範圍框,看它是否與 obj 顯示物件的範圍框重疊或相交。 | DisplayObject | ||
評估顯示物件,看它是否與 x 和 y 參數所指定的點重疊或相交。 | DisplayObject | ||
Attempts to notify the parent SWFLoader that the
Application's size has may have changed. | WindowedSystemManager | ||
Returns true if the required font face is embedded
in this application, or has been registered globally by using the
Font.registerFont() method. | WindowedSystemManager | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
Returns true if this ISystemManager is responsible
for an application window, and false if this
application has been loaded into another application. | WindowedSystemManager | ||
WindowedSystemManager | |||
Returns true if the given DisplayObject is the
top-level window. | WindowedSystemManager | ||
將三維顯示物件的 (區域) 座標的三維點轉換為「舞台」(全域) 座標中的二維點。 | DisplayObject | ||
將 point 物件從顯示物件的 (區域) 座標轉換成「舞台」(全域) 座標。 | DisplayObject | ||
將播放磁頭移到下一個影格,並停止播放。 | MovieClip | ||
將播放磁頭移動到 MovieClip 實體的下一個場景。 | MovieClip | ||
移動影片片段時間軸上的播放磁頭。 | MovieClip | ||
將播放磁頭移到上一個影格,並停止播放。 | MovieClip | ||
將播放磁頭移動到 MovieClip 實體的上一個場景。 | MovieClip | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
將指定的 child DisplayObject 實體從 DisplayObjectContainer 實體的子清單中移除。 | DisplayObjectContainer | ||
從 DisplayObjectContainer 子清單中的指定索引位置移除子 DisplayObject。 | DisplayObjectContainer | ||
將所有 child DisplayObject 實體從 DisplayObjectContainer 實體的子清單中移除。 | DisplayObjectContainer | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
升起顯示虛擬鍵盤。 | InteractiveObject | ||
變更顯示物件容器中現有子系的位置。 | DisplayObjectContainer | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
讓使用者拖曳指定的 sprite。 | Sprite | ||
讓使用者將指定的 Sprite 拖曳至觸控裝置上。 | Sprite | ||
停止影片片段中的播放磁頭。 | MovieClip | ||
遞迴停止執行所有 MovieClips 的時間軸根源於此物件。 | DisplayObjectContainer | ||
結束 startDrag() 方法。 | Sprite | ||
結束觸控裝置使用的 startTouchDrag() 方法。 | Sprite | ||
替換兩個指定子物件的 z 順序 (深度階層,由前至後順序)。 | DisplayObjectContainer | ||
在子清單的兩個指定索引位置,替換子物件的 z 順序 (深度階層,由前至後順序)。 | DisplayObjectContainer | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
allowDomainsInNewRSLs | 屬性 |
allowDomainsInNewRSLs:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | Flash Player 10.2, AIR 2.6 |
Controls whether the domains allowed by calls to allowDomain()
are also allowed by RSLs loaded after the call. Additional RSLs
may be loaded into this module factory by sub-applications or modules.
實作
public function get allowDomainsInNewRSLs():Boolean
public function set allowDomainsInNewRSLs(value:Boolean):void
allowInsecureDomainsInNewRSLs | 屬性 |
allowInsecureDomainsInNewRSLs:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | Flash Player 10.2, AIR 2.6 |
Controls whether the domains allowed by calls to allowInsecureDomain()
are also allowed by RSLs loaded after the call. Additional RSLs
may be added to this module factory by sub-applications or modules.
實作
public function get allowInsecureDomainsInNewRSLs():Boolean
public function set allowInsecureDomainsInNewRSLs(value:Boolean):void
childAllowsParent | 屬性 |
cursorChildren | 屬性 |
cursorChildren:IChildList
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
An list of the custom cursors being parented by this ISystemManager.
An ISystemManager has various types of children,
such as the Application, popups, top-most windows,
tooltips, and custom cursors.
You can access the custom cursors through
the cursorChildren
property.
The IChildList object has methods like getChildAt()
and properties like numChildren
.
For example, cursorChildren.numChildren
gives
the number of custom cursors (which will be either 0 or 1)
and, if a custom cursor exists, you can access it as
cursorChildren.getChildAt(0)
.
實作
public function get cursorChildren():IChildList
document | 屬性 |
document:Object
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
A reference to the document object. A document object is an Object at the top of the hierarchy of a Flex application, MXML component, or AS component.
實作
public function get document():Object
public function set document(value:Object):void
embeddedFontList | 屬性 |
focusPane | 屬性 |
height | 屬性 |
height:Number
[覆寫] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
The height of this object. For the SystemManager this should always be the width of the stage unless the application was loaded into another application. If the application was not loaded into another application, setting this value has no effect.
實作
override public function get height():Number
override public function set height(value:Number):void
isProxy | 屬性 |
numChildren | 屬性 |
numModalWindows | 屬性 |
numModalWindows:int
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
The number of modal windows. Modal windows don't allow clicking in another windows which would normally activate the FocusManager in that window. The PopUpManager modifies this count as it creates and destroys modal windows.
實作
public function get numModalWindows():int
public function set numModalWindows(value:int):void
parentAllowsChild | 屬性 |
popUpChildren | 屬性 |
popUpChildren:IChildList
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
An list of the topMost (popup) windows being parented by this ISystemManager.
An ISystemManager has various types of children,
such as the Application, popups,
tooltips, and custom cursors.
You can access the top-most windows through
the popUpChildren
property.
The IChildList object has methods like getChildAt()
and properties like numChildren
.
For example, popUpChildren.numChildren
gives
the number of topmost windows and you can access them as
popUpChildren.getChildAt(i)
.
實作
public function get popUpChildren():IChildList
rawChildren | 屬性 |
rawChildren:IChildList
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
A list of all children being parented by this ISystemManager.
An ISystemManager has various types of children, such as the Application, popups, tooltips, and custom cursors.
The IChildList object has methods like getChildAt()
and properties like numChildren
.
實作
public function get rawChildren():IChildList
screen | 屬性 |
toolTipChildren | 屬性 |
toolTipChildren:IChildList
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
A list of the tooltips being parented by this ISystemManager.
An ISystemManager has various types of children, such as the Application, popups, topmost windows, tooltips, and custom cursors.
The IChildList object has methods like getChildAt()
and properties like numChildren
.
For example, toolTipChildren.numChildren
gives
the number of tooltips (which will be either 0 or 1)
and, if a tooltip exists, you can access it as
toolTipChildren.getChildAt(0)
.
實作
public function get toolTipChildren():IChildList
topLevelSystemManager | 屬性 |
topLevelSystemManager:ISystemManager
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
Returns the SystemManager responsible for the application window. This will be the same SystemManager unless this application has been loaded into another application.
實作
public function get topLevelSystemManager():ISystemManager
width | 屬性 |
width:Number
[覆寫] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
The width of this object. For the SystemManager this should always be the width of the stage unless the application was loaded into another application. If the application was not loaded into another application, setting this value will have no effect.
實作
override public function get width():Number
override public function set width(value:Number):void
WindowedSystemManager | () | 建構函式 |
callInContext | () | 方法 |
public function callInContext(fn:Function, thisArg:Object, argArray:Array, returns:Boolean = true):*
This method should not be called on WindowedSystemManager. It is here as part of the contract for IFlexModuleFactory.
參數
fn:Function | |
thisArg:Object | |
argArray:Array | |
returns:Boolean (default = true )
|
* |
create | () | 方法 |
deployMouseShields | () | 方法 |
public function deployMouseShields(deploy:Boolean):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
Deploy or remove mouse shields. Mouse shields block mouse input to untrusted applications. The reason you would want to block mouse input is because when you are dragging over an untrusted application you would normally not receive any mouse move events. The Flash Player does not send events across trusted/untrusted boundries due to security concerns. By covering the untrusted application with a mouse shield (assuming you are its parent) you can get mouse move message and the drag operation will work as expected.
參數
deploy:Boolean — true to deploy the mouse shields, false
to remove the mouse shields.
|
getDefinitionByName | () | 方法 |
public function getDefinitionByName(name:String):Object
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
Converts the given String to a Class or package-level Function.
Calls the appropriate ApplicationDomain.getDefinition()
method based on
whether you are loaded into another application or not.
參數
name:String — Name of class, for example "mx.video.VideoManager".
|
Object — The Class represented by the name , or null.
|
getFocus | () | 方法 |
public function getFocus():InteractiveObject
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
Return the object the player sees as having focus.
傳回值InteractiveObject — An object of type InteractiveObject that the
player sees as having focus. If focus is currently
in a sandbox the caller does not have access to
null will be returned.
|
getSandboxRoot | () | 方法 |
public function getSandboxRoot():DisplayObject
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
Go up our parent chain to get the top level system manager in this SecurityDomain
傳回值DisplayObject |
getTopLevelRoot | () | 方法 |
public function getTopLevelRoot():DisplayObject
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
Go up our parent chain to get the top level system manager. returns null if we are not on the display list or we don't have access to the top level system manager.
傳回值DisplayObject |
getVisibleApplicationRect | () | 方法 |
invalidateParentSizeAndDisplayList | () | 方法 |
public function invalidateParentSizeAndDisplayList():void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4 |
執行階段版本: | Flash Player 10, AIR 1.5 |
Attempts to notify the parent SWFLoader that the Application's size has may have changed. Not needed for WindowedSystemManager so does nothing
isFontFaceEmbedded | () | 方法 |
public function isFontFaceEmbedded(textFormat:flash.text:TextFormat):Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
Returns true
if the required font face is embedded
in this application, or has been registered globally by using the
Font.registerFont()
method.
參數
textFormat:flash.text:TextFormat — The TextFormat class representing character formatting information.
|
Boolean — true if the required font face is embedded
in this application, or has been registered globally by using the
Font.registerFont() method.
|
isTopLevel | () | 方法 |
public function isTopLevel():Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
Returns true
if this ISystemManager is responsible
for an application window, and false
if this
application has been loaded into another application.
Boolean — true if this ISystemManager is responsible
for an application window.
|
isTopLevelRoot | () | 方法 |
isTopLevelWindow | () | 方法 |
public function isTopLevelWindow(object:DisplayObject):Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | AIR 1.1 |
Returns true
if the given DisplayObject is the
top-level window.
參數
object:DisplayObject |
Boolean — true if the given DisplayObject is the
top-level window.
|
Tue Jun 12 2018, 03:47 PM Z