套件 | mx.managers |
類別 | public class SystemManager |
繼承 | SystemManager MovieClip Sprite DisplayObjectContainer InteractiveObject DisplayObject EventDispatcher Object |
實作 | IChildList, IFlexDisplayObject, IFlexModuleFactory, ISystemManager |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
mx.core.Application
, which
is the main, or top-level, window within an application.
Every application has a SystemManager. The SystemManager sends an event if the size of the application window changes (you cannot change it from within the application, but only through interaction with the operating system window or browser). It parents all displayable things within the application like the main mx.core.Application instance and all popups, tooltips, cursors, and so on. Any object parented by the SystemManager is considered to be a top-level window, even tooltips and cursors.
The SystemManager also switches focus between top-level windows if there are more than one IFocusManagerContainer displayed and users are interacting with components within the IFocusManagerContainers.
All keyboard and mouse activity that is not expressly trapped is seen by the SystemManager, making it a good place to monitor activity should you need to do so.
If an application is loaded into another application, a SystemManager
will still be created, but will not manage an application window,
depending on security and domain rules.
Instead, it will be the content
of the Loader
that loaded it and simply serve as the parent of the sub-application
The SystemManager maintains multiple lists of children, one each for tooltips, cursors,
popup windows. This is how it ensures that popup windows "float" above the main
application windows and that tooltips "float" above that and cursors above that.
If you simply examine the numChildren
property or
call the getChildAt()
method on the SystemManager, you are accessing
the main application window and any other windows that aren't popped up. To get the list
of all windows, including popups, tooltips and cursors, use
the rawChildren
property.
The SystemManager is the first display class created within an application.
It is responsible for creating an mx.preloaders.Preloader
that displays and
mx.preloaders.SparkDownloadProgressBar
while the application finishes loading,
then creates the mx.core.Application
instance.
更多範例
屬性 | 定義自 | ||
---|---|---|---|
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. | SystemManager | ||
allowInsecureDomainsInNewRSLs : Boolean
Controls whether the domains allowed by calls to allowInsecureDomain()
are also allowed by RSLs loaded after the call. | SystemManager | ||
alpha : Number
指出所指定物件的 Alpha 透明度值。 | DisplayObject | ||
application : IUIComponent [唯讀]
The application parented by this SystemManager. | SystemManager | ||
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 [唯讀]
| SystemManager | ||
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. | SystemManager | ||
document : Object
A reference to the document object. | SystemManager | ||
doubleClickEnabled : Boolean
會指定物件是否會收到 doubleClick 事件。 | InteractiveObject | ||
dropTarget : DisplayObject [唯讀]
指定要將 sprite 拖曳至或丟棄至哪個顯示物件上。 | Sprite | ||
embeddedFontList : Object [唯讀]
A table of embedded fonts in this application. | SystemManager | ||
enabled : Boolean
這是一個 Boolean 值,用來指示影片片段是否已啟用。 | MovieClip | ||
explicitHeight : Number
The explicit width of this object. | SystemManager | ||
explicitWidth : Number
The explicit width of this object. | SystemManager | ||
filters : Array
索引的陣列,其中包含目前和顯示物件相關的每個濾鏡物件。 | DisplayObject | ||
focusPane : Sprite
The focus pane associated with this object. | SystemManager | ||
focusRect : Object
會指定這個物件是否會顯示焦點矩形。 | InteractiveObject | ||
framesLoaded : int [唯讀]
從串流 SWF 檔中載入的影格數目。 | MovieClip | ||
graphics : Graphics [唯讀]
指定屬於此 sprite 物件的 Graphics 物件,其中可能會產生向量繪圖命令。 | Sprite | ||
height : Number [覆寫]
The height of this object. | SystemManager | ||
hitArea : Sprite
指定用來當作 sprite 作用區域的另一個 sprite。 | Sprite | ||
isPlaying : Boolean [唯讀]
Boolean 值,指示目前是否正在播放影片片段。 | MovieClip | ||
isProxy : Boolean [唯讀]
True if SystemManager is a proxy and not a root class
| SystemManager | ||
loaderInfo : LoaderInfo [唯讀]
會傳回 LoaderInfo 物件,其中包含關於載入此顯示物件所屬之檔案的資訊。 | DisplayObject | ||
mask : DisplayObject
呼叫之顯示物件會以指定的 mask 物件遮蓋。 | DisplayObject | ||
measuredHeight : Number [唯讀]
The measuredHeight is the explicit or measuredHeight of
the main mx.core.Application window
or the starting height of the SWF if the main window
has not yet been created or does not exist. | SystemManager | ||
measuredWidth : Number [唯讀]
The measuredWidth is the explicit or measuredWidth of
the main mx.core.Application window,
or the starting width of the SWF if the main window
has not yet been created or does not exist. | SystemManager | ||
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. | SystemManager | ||
numModalWindows : int
The number of modal windows. | SystemManager | ||
opaqueBackground : Object
會指定顯示物件是否不透明,並具有特定背景顏色。 | DisplayObject | ||
parent : DisplayObjectContainer [覆寫] [唯讀]
Override parent property to handle the case where the parent is in
a differnt sandbox. | SystemManager | ||
parentAllowsChild : Boolean [唯讀]
Tests if the parent allows its child to access its display objects or listen
to messages that originate in the parent. | SystemManager | ||
popUpChildren : IChildList [唯讀]
An list of the topMost (popup)
windows being parented by this ISystemManager. | SystemManager | ||
preloadedRSLs : Dictionary [唯讀]
The RSLs loaded by this SystemManager or FlexModuleFactory before the
application starts. | SystemManager | ||
preloaderBackgroundAlpha : Number [唯讀]
The background alpha used by the child of the preloader. | SystemManager | ||
preloaderBackgroundColor : uint [唯讀]
The background color used by the child of the preloader. | SystemManager | ||
preloaderBackgroundImage : Object [唯讀]
The background color used by the child of the preloader. | SystemManager | ||
preloaderBackgroundSize : String [唯讀]
The background size used by the child of the preloader. | SystemManager | ||
rawChildren : IChildList [唯讀]
A list of all children
being parented by this ISystemManager. | SystemManager | ||
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. | SystemManager | ||
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. | SystemManager | ||
topLevelSystemManager : ISystemManager [唯讀]
Returns the SystemManager responsible for the application window. | SystemManager | ||
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. | SystemManager | ||
x : Number
指出 DisplayObject 實體相對於父輩 DisplayObjectContainer 之區域座標的 x 座標。 | DisplayObject | ||
y : Number
指出 DisplayObject 實體相對於父輩 DisplayObjectContainer 之區域座標的 y 座標。 | DisplayObject | ||
z : Number
表示 DisplayObject 實體相對於 3D 父輩容器的 z 座標位置 (沿著 z 軸)。 | DisplayObject |
方法 | 定義自 | ||
---|---|---|---|
Constructor. | SystemManager | ||
將 DisplayObject 子實體加入至此 DisplayObjectContainer 實體。 | DisplayObjectContainer | ||
將 DisplayObject 子實體加入至此 DisplayObjectContainer 實體。 | DisplayObjectContainer | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
Adds an RSL to the preloadedRSLs list. | SystemManager | ||
Calls Security.allowDomain() for the SWF associated with this SystemManager
plus all the SWFs assocatiated with RSLs preloaded by this SystemManager. | SystemManager | ||
Calls Security.allowInsecureDomain() for the SWF associated with this SystemManager
plus all the SWFs assocatiated with RSLs preloaded by this SystemManager. | SystemManager | ||
指出安全性限制是否會造成傳回的清單 (可用指定的 point 點呼叫 DisplayObjectContainer.getObjectsUnderPoint() 方法來取得) 省略任何顯示物件。 | DisplayObjectContainer | ||
判斷指定的顯示物件是否為 DisplayObjectContainer 實體的子系,或為實體本身。 | DisplayObjectContainer | ||
A factory method that requests an instance of a
definition known to the module. | SystemManager | ||
Deploy or remove mouse shields. | SystemManager | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
傳回可定義顯示物件區域 (相對於 targetCoordinateSpace 物件的座標系統) 的矩形。 | DisplayObject | ||
傳回存在於指定索引位置的子顯示物件實體。 | DisplayObjectContainer | ||
傳回具有指定名稱的子顯示物件。 | DisplayObjectContainer | ||
傳回 child DisplayObject 實體的索引位置。 | DisplayObjectContainer | ||
Converts the given String to a Class or package-level Function. | SystemManager | ||
A convenience method for determining whether to use the
explicit or measured height. | SystemManager | ||
A convenience method for determining whether to use the
explicit or measured width. | SystemManager | ||
傳回位於指定點底下,且屬於此 DisplayObjectContainer 實體之子系 (或孫系,以下類推) 的物件陣列。 | DisplayObjectContainer | ||
根據 targetCoordinateSpace 參數所定義的座標系統,並排除形狀上的任何筆畫,傳回可定義顯示物件邊界的矩形。 | DisplayObject | ||
Go up the parent chain to get the top level system manager in this
SecurityDomain. | SystemManager | ||
[靜態]
Returns the root DisplayObject of the SWF that contains the code
for the given object. | SystemManager | ||
Go up the parent chain to get the top level system manager. | SystemManager | ||
Get the bounds of the loaded application that are visible to the user
on the screen. | SystemManager | ||
將 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 changed. | SystemManager | ||
Returns true if the required font face is embedded
in this application, or has been registered globally by using the
Font.registerFont() method. | SystemManager | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
Returns true if this ISystemManager is responsible
for an application window, and false if this
application has been loaded into another application. | SystemManager | ||
Tests if this system manager is the root of all
top level system managers. | SystemManager | ||
Determines if the given DisplayObject is the
top-level window. | SystemManager | ||
將三維顯示物件的 (區域) 座標的三維點轉換為「舞台」(全域) 座標中的二維點。 | DisplayObject | ||
將 point 物件從顯示物件的 (區域) 座標轉換成「舞台」(全域) 座標。 | DisplayObject | ||
Calling the move() method
has no effect as it is directly mapped
to the application window or the loader. | SystemManager | ||
將播放磁頭移到下一個影格,並停止播放。 | MovieClip | ||
將播放磁頭移動到 MovieClip 實體的下一個場景。 | MovieClip | ||
移動影片片段時間軸上的播放磁頭。 | MovieClip | ||
將播放磁頭移到上一個影格,並停止播放。 | MovieClip | ||
將播放磁頭移動到 MovieClip 實體的上一個場景。 | MovieClip | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
將指定的 child DisplayObject 實體從 DisplayObjectContainer 實體的子清單中移除。 | DisplayObjectContainer | ||
從 DisplayObjectContainer 子清單中的指定索引位置移除子 DisplayObject。 | DisplayObjectContainer | ||
將所有 child DisplayObject 實體從 DisplayObjectContainer 實體的子清單中移除。 | DisplayObjectContainer | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
升起顯示虛擬鍵盤。 | InteractiveObject | ||
Calling the setActualSize() method
has no effect if it is directly mapped
to the application window and if it is the top-level window. | SystemManager | ||
變更顯示物件容器中現有子系的位置。 | DisplayObjectContainer | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
讓使用者拖曳指定的 sprite。 | Sprite | ||
讓使用者將指定的 Sprite 拖曳至觸控裝置上。 | Sprite | ||
停止影片片段中的播放磁頭。 | MovieClip | ||
遞迴停止執行所有 MovieClips 的時間軸根源於此物件。 | DisplayObjectContainer | ||
結束 startDrag() 方法。 | Sprite | ||
結束觸控裝置使用的 startTouchDrag() 方法。 | Sprite | ||
替換兩個指定子物件的 z 順序 (深度階層,由前至後順序)。 | DisplayObjectContainer | ||
在子清單的兩個指定索引位置,替換子物件的 z 順序 (深度階層,由前至後順序)。 | DisplayObjectContainer | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
事件 | 摘要 | 定義自 | ||
---|---|---|---|---|
[廣播事件] 當 Flash Player 或 AIR 應用程式取得作業系統焦點並成為作用中時傳送。 | EventDispatcher | |||
當顯示物件加入顯示清單中時傳送。 | DisplayObject | |||
會在顯示物件加入舞台上的顯示清單時,以直接或是透過加入包含該顯示物件之子樹狀結構的方式傳送。 | DisplayObject | |||
Dispatched when the application has finished initializing | SystemManager | |||
當使用者從文字快顯選單中選取「清除」(或「刪除」) 時傳送。 | InteractiveObject | |||
會當使用者在相同的 InteractiveObject 上方按下並放開使用者的指向裝置主按鈕時傳送。 | InteractiveObject | |||
當使用者手勢在 AIR 應用程式中觸發與此互動式物件相關聯的快顯選單時傳送。 | InteractiveObject | |||
當使用者針對複製作業啟動平台特有的快速鍵組合或從文字快顯選單中選取「複製」時傳送。 | InteractiveObject | |||
當使用者針對剪下作業啟動平台特有的快速鍵組合或從文字快顯選單中選取「剪下」時傳送。 | InteractiveObject | |||
[廣播事件] 當 Flash Player 或 AIR 應用程式失去作業系統焦點並成為非作用中時傳送。 | EventDispatcher | |||
在 InteractiveObject 物件的 doubleClickEnabled 旗標設為 true 的情況下,當使用者在相同的物件上方連續兩次快速按下並放開指標裝置主要按鈕時傳送。 | InteractiveObject | |||
[廣播事件] 當播放磁頭進入新影格時傳送。 | DisplayObject | |||
[廣播事件] 當播放磁頭結束目前影格時傳送。 | DisplayObject | |||
當顯示物件取得焦點之後傳送。 | InteractiveObject | |||
當顯示物件失去焦點時傳送。 | InteractiveObject | |||
[廣播事件] 在影格顯示物件的建構函式執行之後,且影格指令碼執行之前傳送。 | DisplayObject | |||
當使用者沿著觸控面與 InteractiveObject 實體建立接觸點 (例如沿著 Apple TV 的 Siri Remote 觸控面點選),某些裝置可能也會將此接觸解譯為數個觸控事件的組合。 | InteractiveObject | |||
當使用在觸控裝置上的同一個 InteractiveObject 實體上按下兩個接觸點後送出 (例如在行動電話或平板電腦觸控螢幕的顯示物件上方,以兩支手指按下後鬆開)。 | InteractiveObject | |||
當使用者在觸控裝置上,將接觸點移動到 InteractiveObject 實體上方後傳送 (例如,在行動電話或平板電腦觸控螢幕的顯示物件上,由左向右移動手指)。 | InteractiveObject | |||
當使用者在 InteractiveObject 實體的接觸點上做出旋轉手勢後傳送 (例如兩指觸摸行動電話或平板電腦的觸控螢幕,然後手指在顯示物件上旋轉)。 | InteractiveObject | |||
當使用者在與 InteractiveObject 實體的某個接觸點上做出揮動手勢後傳送 (例如,三指併在一起觸碰行動電話或平板電腦的觸控螢幕,然後在顯示物件上快速平行移動手指)。 | InteractiveObject | |||
當使用者與 InteractiveObject 實體建立接觸點,然後在觸控裝置上點一下後送出 (例如,將多根手指放到行動電話或平板電腦觸控螢幕的顯示物件上以開啟選單,然後其中一根手點一下,選取選單項目)。 | InteractiveObject | |||
當使用者在 InteractiveObject 實體的某個接觸點上做出放大縮小手勢後傳送 (例如兩指併在一起觸摸行動電話或平板電腦的觸控螢幕,然後手指在顯示物件上快速張開)。 | InteractiveObject | |||
Dispatched every 100 milliseconds when there has been no keyboard or mouse activity for 1 second. | SystemManager | |||
這個事件會送出至任何支援 IME 內嵌輸入的用戶端應用程式。 | InteractiveObject | |||
會當使用者按下按鍵時傳送。 | InteractiveObject | |||
當使用者嘗試使用鍵盤瀏覽變更焦點時傳送。 | InteractiveObject | |||
會當使用者放開按鍵時傳送。 | InteractiveObject | |||
當使用者在相同的 InteractiveObject 上方按下並放開使用者的指向裝置中間按鈕時傳送。 | InteractiveObject | |||
當使用者將指向裝置的中間按鈕移至 InteractiveObject 實體上方按下時傳送。 | InteractiveObject | |||
當使用者將指向裝置按鈕移至 InteractiveObject 實體上方放開時傳送。 | InteractiveObject | |||
當使用者將指向裝置按鈕移至 InteractiveObject 實體上方按下時傳送。 | InteractiveObject | |||
會當使用者嘗試使用指向裝置變更焦點時傳送。 | InteractiveObject | |||
會當指向裝置停在 InteractiveObject 上方的情況下使用者將其移動時傳送。 | InteractiveObject | |||
會當使用者將指向裝置移開 InteractiveObject 實體時傳送。 | InteractiveObject | |||
會當使用者將指向裝置移至 InteractiveObject 實體上方時傳送。 | InteractiveObject | |||
當使用者將指向裝置按鈕移至 InteractiveObject 實體上方放開時傳送。 | InteractiveObject | |||
當滑鼠滾輪在 InteractiveObject 實體上方轉動時傳送。 | InteractiveObject | |||
當使用者釋放手勢時,由拖曳初始程式 InteractiveObject 傳送。 | InteractiveObject | |||
已在目標 InteractiveObject 上放下拖曳的物件,而且已呼叫 DragManager.acceptDragDrop() 接受該放開的資料時,由此目標 InteractiveObject 傳送。 | InteractiveObject | |||
當手勢進入 InteractiveObject 的邊界時,由此 InteractiveObject 傳送。 | InteractiveObject | |||
當手勢離開 InteractiveObject 的邊界時,由此 InteractiveObject 傳送。 | InteractiveObject | |||
當拖曳手勢還留在 InteractiveObject 的邊界內,由此 InteractiveObject 持續傳送。 | InteractiveObject | |||
在呼叫 DragManager.doDrag() 進行拖曳作業初期,由指定做為拖曳初始程式的 InteractiveObject 傳送。 | InteractiveObject | |||
在呼叫 DragManager.doDrag() 進行拖曳作業期間,由指定做為拖曳初始程式的 InteractiveObject 傳送。 | InteractiveObject | |||
當使用者針對貼上作業啟動平台特有的快速鍵組合或從文字快顯選單中選取「貼上」時傳送。 | InteractiveObject | |||
在使用者將作用中觸控筆往下移至超過螢幕鄰近偵測邊框時傳送。 | InteractiveObject | |||
在使用者將作用中觸控筆提到螢幕鄰近偵測邊框時傳送。 | InteractiveObject | |||
在使用者將作用中觸控筆移到螢幕上方,而其餘仍在鄰近偵測邊框內時傳送。 | InteractiveObject | |||
在使用者將作用中觸控筆移出這個 InteractiveObject 之外,而其餘仍在螢幕的鄰近偵測邊框內時傳送。 | InteractiveObject | |||
在使用者直接將作用中觸控筆移到這個 InteractiveObject 上方,而其餘仍在螢幕的鄰近偵測邊框內時傳送。 | InteractiveObject | |||
在使用者將作用中觸控筆移出這個 InteractiveObject 及其任一子系之外,而其餘仍在螢幕的鄰近偵測邊框內時傳送。 | InteractiveObject | |||
在使用者透過這個 InteractiveObject,從顯示清單中後代的物件樹狀結構之外移動作用中觸控筆時傳送 (而其餘仍在螢幕的鄰近偵測邊框內)。 | InteractiveObject | |||
當使用者第一次按下 InteractiveObject 實體上方的按鈕,然後將指向裝置滑出 InteractiveObject 實體之後即放開指向裝置上的按鈕時傳送。 | InteractiveObject | |||
會當顯示物件將要從顯示清單移除時傳送。 | DisplayObject | |||
會在顯示物件即將從顯示清單移除時,以直接或是透過移除包含該顯示物件之子樹狀結構的方式傳送。 | DisplayObject | |||
[廣播事件] 當顯示清單將要更新和顯示時傳送。 | DisplayObject | |||
Dispatched when the Stage is resized. | SystemManager | |||
當使用者在相同的 InteractiveObject 上方按下並放開使用者的指向裝置右邊按鈕時傳送。 | InteractiveObject | |||
當使用者將指向裝置按鈕移至 InteractiveObject 實體上方按下時傳送。 | InteractiveObject | |||
當使用者將指向裝置按鈕移至 InteractiveObject 實體上方放開時傳送。 | InteractiveObject | |||
會當使用者將指向裝置移開 InteractiveObject 實體時傳送。 | InteractiveObject | |||
會當使用者將指向裝置移至 InteractiveObject 實體上方時傳送。 | InteractiveObject | |||
當使用者針對全選作業啟動平台特有的快速鍵組合或從文字快顯選單中選取「全選」時傳送。 | InteractiveObject | |||
升起顯示軟體鍵盤之後立即傳送。 | InteractiveObject | |||
升起顯示軟體鍵盤前立即傳送。 | InteractiveObject | |||
降下隱藏軟體鍵盤之後立即傳送。 | InteractiveObject | |||
在物件的 tabChildren 旗標值變更時傳送。 | InteractiveObject | |||
在物件的 tabEnabled 旗標變更時傳送。 | InteractiveObject | |||
在物件的 tabIndex 屬性值變更時傳送。 | InteractiveObject | |||
當使用者輸入一或多文字的字元時送出。 | InteractiveObject | |||
當使用者在第一次接觸觸控裝置後傳送 (例如手指觸摸行動電話或平板電腦的觸控螢幕)。 | InteractiveObject | |||
當使用者在觸控裝置上移除接觸點後傳送 (例如在行動電話或平板電腦觸控螢幕上移開手指)。 | InteractiveObject | |||
當使用者觸控裝置時傳送,並且連續不斷地傳送,直到接觸點移除為止。 | InteractiveObject | |||
當使用者在觸控裝置中,將接觸點移出 InteractiveObject 實體後送出 (例如在行動電話或平板電腦的觸控螢幕上,將手指從顯示物件移至另一個顯示物件)。 | InteractiveObject | |||
當使用者在觸控裝置中將接觸點移至 InteractiveObject 實體上方後送出 (例如在行動電話或平板電腦的觸控螢幕上,將手指從顯示物件外面的某一點,往顯示物件上方拖曳)。 | InteractiveObject | |||
當使用者在觸控裝置上,將接觸點從 InteractiveObject 實體移出後送出 (例如,在行動電話或平板電腦的觸控螢幕上,將手指從顯示物件上方拖曳到顯示物件以外)。 | InteractiveObject | |||
當使用者在觸控裝置中將接觸點移至 InteractiveObject 實體上方後送出 (例如在行動電話或平板電腦的觸控螢幕上,將手指從顯示物件外面的某一點,往顯示物件上方拖曳)。 | InteractiveObject | |||
當使用者在觸控裝置的同一個 InteractiveObject 實體上,在原先開始接觸點放開後送出 (例如在行動電話或平板電腦觸控螢幕上的顯示物件上方,以手指按下某個點後又鬆開)。 | InteractiveObject |
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
application | 屬性 |
application:IUIComponent
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The application parented by this SystemManager. SystemManagers create an instance of an Application even if they are loaded into another Application. Thus, this may not match mx.core.Application.application if the SWF has been loaded into another application.
Note that this property is not typed as mx.core.Application because of load-time performance considerations but can be coerced into an mx.core.Application.
實作
public function get application():IUIComponent
childAllowsParent | 屬性 |
cursorChildren | 屬性 |
cursorChildren:IChildList
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, 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 |
執行階段版本: | Flash Player 9, 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 | 屬性 |
explicitHeight | 屬性 |
explicitHeight:Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The explicit width of this object. For the SystemManager this should always be NaN unless the application was loaded into another application. If the application was not loaded into another application, setting this value has no effect.
實作
public function get explicitHeight():Number
public function set explicitHeight(value:Number):void
explicitWidth | 屬性 |
explicitWidth:Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The explicit width of this object. For the SystemManager this should always be NaN unless the application was loaded into another application. If the application was not loaded into another application, setting this value has no effect.
實作
public function get explicitWidth():Number
public function set explicitWidth(value:Number):void
focusPane | 屬性 |
height | 屬性 |
height:Number
[覆寫] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, 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 | 屬性 |
measuredHeight | 屬性 |
measuredHeight:Number
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The measuredHeight is the explicit or measuredHeight of the main mx.core.Application window or the starting height of the SWF if the main window has not yet been created or does not exist.
實作
public function get measuredHeight():Number
measuredWidth | 屬性 |
measuredWidth:Number
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The measuredWidth is the explicit or measuredWidth of the main mx.core.Application window, or the starting width of the SWF if the main window has not yet been created or does not exist.
實作
public function get measuredWidth():Number
numChildren | 屬性 |
numChildren:int
[唯讀] [覆寫] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The number of non-floating windows. This is the main application window plus any other windows added to the SystemManager that are not popups, tooltips or cursors.
實作
override public function get numChildren():int
numModalWindows | 屬性 |
numModalWindows:int
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, 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
parent | 屬性 |
parent:DisplayObjectContainer
[唯讀] [覆寫] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Override parent property to handle the case where the parent is in a differnt sandbox. If the parent is in the same sandbox it is returned. If the parent is in a diffent sandbox, then null is returned.
實作
override public function get parent():DisplayObjectContainer
parentAllowsChild | 屬性 |
parentAllowsChild:Boolean
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Tests if the parent allows its child to access its display objects or listen
to messages that originate in the parent.
true
if access if allowed; otherwise false
.
實作
public function get parentAllowsChild():Boolean
popUpChildren | 屬性 |
popUpChildren:IChildList
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, 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
preloadedRSLs | 屬性 |
preloadedRSLs:Dictionary
[唯讀]
The RSLs loaded by this SystemManager or FlexModuleFactory before the
application starts. This dictionary may also include RSLs loaded into this
module factory's application domain by other modules or
sub-applications. When a new dictionary entry is added by a child module
factory an RSLEvent.RSL_ADD_PRELOADED
event is dispatched
by module factory owning the dictionary.
Information about preloadedRSLs is stored in a Dictionary. The key is
the RSL's LoaderInfo. The value is the a Vector of RSLData where the
first element is the primary RSL and the remaining elements are
failover RSLs.
實作
public function get preloadedRSLs():Dictionary
preloaderBackgroundAlpha | 屬性 |
preloaderBackgroundColor | 屬性 |
preloaderBackgroundImage | 屬性 |
preloaderBackgroundSize | 屬性 |
rawChildren | 屬性 |
rawChildren:IChildList
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, 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 |
執行階段版本: | Flash Player 9, 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 |
執行階段版本: | Flash Player 9, 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 |
執行階段版本: | Flash Player 9, 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
SystemManager | () | 建構函式 |
public function SystemManager()
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Constructor.
This is the starting point for all Flex applications. This class is set to be the root class of a Flex SWF file. Flash Player instantiates an instance of this class, causing this constructor to be called.
addPreloadedRSL | () | 方法 |
public function addPreloadedRSL(loaderInfo:LoaderInfo, rsl:Vector.<RSLData>):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Adds an RSL to the preloadedRSLs list. This method is called by child module factories when they add load an RSL into this module factory's application domain.
You do not call this method directly. This method is called by child module factories when they add load an RSL into this module factory's application domain.
參數
loaderInfo:LoaderInfo — The loaderInfo of the loaded RSL.
| |
rsl:Vector.<RSLData> — The RSL's configuration information. A Vector of RSLData.
The first element in the array is the primary RSL. The remaining
elements are failover RSLs.
|
allowDomain | () | 方法 |
allowInsecureDomain | () | 方法 |
create | () | 方法 |
public function create(... params):Object
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
A factory method that requests an instance of a definition known to the module. You can provide an optional set of parameters to let building factories change what they create based on the input. Passing null indicates that the default definition is created, if possible. This method is overridden in the autogenerated subclass.
參數
... params — An optional list of arguments. You can pass
any number of arguments, which are then stored in an Array
called parameters .
|
Object — An instance of the module, or null .
|
deployMouseShields | () | 方法 |
public function deployMouseShields(deploy:Boolean):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, 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 |
執行階段版本: | Flash Player 9, 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.
|
getExplicitOrMeasuredHeight | () | 方法 |
public function getExplicitOrMeasuredHeight():Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
A convenience method for determining whether to use the explicit or measured height.
傳回值Number — A Number that is the explicitHeight if defined,
or the measuredHeight property if not.
|
getExplicitOrMeasuredWidth | () | 方法 |
getSandboxRoot | () | 方法 |
public function getSandboxRoot():DisplayObject
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Go up the parent chain to get the top level system manager in this SecurityDomain.
傳回值DisplayObject — The root system manager in this SecurityDomain.
|
getSWFRoot | () | 方法 |
public static function getSWFRoot(object:Object):DisplayObject
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the root DisplayObject of the SWF that contains the code for the given object.
參數
object:Object — Any Object.
|
DisplayObject — The root DisplayObject
|
getTopLevelRoot | () | 方法 |
public function getTopLevelRoot():DisplayObject
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Go up the parent chain to get the top level system manager.
Returns null
if not on the display list or we don't have
access to the top-level system manager.
DisplayObject — The root system manager.
|
getVisibleApplicationRect | () | 方法 |
public function getVisibleApplicationRect(bounds:Rectangle = null, skipToSandboxRoot: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.
參數
bounds:Rectangle (default = null ) — Optional. The starting bounds for the visible rect. The
bounds are in global coordinates. If bounds is null the
starting bounds is defined by the screen property of the
system manager.
| |
skipToSandboxRoot:Boolean (default = false )
|
Rectangle — a Rectangle including the visible portion of the this
object. The rectangle is in global coordinates.
|
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 changed.
isFontFaceEmbedded | () | 方法 |
public function isFontFaceEmbedded(textFormat:flash.text:TextFormat):Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, 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 |
執行階段版本: | Flash Player 9, 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 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Determines if the given DisplayObject is the top-level window.
參數
object:DisplayObject — The DisplayObject to test.
|
Boolean — true if the given DisplayObject is the
top-level window.
|
move | () | 方法 |
setActualSize | () | 方法 |
public function setActualSize(newWidth:Number, newHeight:Number):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Calling the setActualSize()
method
has no effect if it is directly mapped
to the application window and if it is the top-level window.
Otherwise attempts to resize itself, clipping children if needed.
參數
newWidth:Number — The new width.
| |
newHeight:Number — The new height.
|
applicationComplete | 事件 |
mx.events.FlexEvent
屬性 FlexEvent.type =
mx.events.FlexEvent.APPLICATION_COMPLETE
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Dispatched when the application has finished initializing
TheFlexEvent.APPLICATION_COMPLETE
constant defines the value of the
type
property of the event object for a applicationComplete
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
idle | 事件 |
mx.events.FlexEvent
屬性 FlexEvent.type =
mx.events.FlexEvent.IDLE
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Dispatched every 100 milliseconds when there has been no keyboard or mouse activity for 1 second.
TheFlexEvent.IDLE
constant defines the value of the
type
property of the event object for a idle
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
resize | 事件 |
flash.events.Event
屬性 Event.type =
flash.events.Event.RESIZE
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Dispatched when the Stage is resized.
Event.RESIZE
常數會定義 resize
事件物件的 type
屬性值。
這個事件具有下列屬性:
屬性 | 值 |
---|---|
bubbles | false |
cancelable | false ;沒有要取消的預設行為指令。 |
currentTarget | 正主動使用事件偵聽程式處理 Event 物件的物件。 |
target | Stage 物件。 |
Tue Jun 12 2018, 03:47 PM Z