套件 | com.adobe.livecycle.assetmanager.client.managers |
類別 | public class AssetManager |
繼承 | AssetManager EventDispatcher Object |
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
屬性 | 定義自 | ||
---|---|---|---|
assetDescriptors : IList
Returns the list of available AssetDescriptors. | AssetManager | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
userPermissions : IList
Specifies the permissions for the current user. | AssetManager | ||
userPermissionsPrefixMap : Object [唯寫]
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}. | AssetManager |
方法 | 定義自 | ||
---|---|---|---|
Constructor. | AssetManager | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
Loads AssetDescriptors. | AssetManager | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
Initialization is not required if the client explicitly sets UserPermissions and loads assets using fetchAssetDescriptors(). | AssetManager | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
Resets the Asset Manager building block state to its state when assetDescriptors was created. | AssetManager | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
事件 | 摘要 | 定義自 | ||
---|---|---|---|---|
[廣播事件] 當 Flash Player 或 AIR 應用程式取得作業系統焦點並成為作用中時傳送。 | EventDispatcher | |||
Thrown when assetDescriptors are reset. | AssetManager | |||
Thrown if an error occurs when AssetTypeDescriptor is loading. | AssetManager | |||
Thrown if an error occurs when permissions are loading. | AssetManager | |||
[廣播事件] 當 Flash Player 或 AIR 應用程式失去作業系統焦點並成為非作用中時傳送。 | EventDispatcher |
常數 | 定義自 | ||
---|---|---|---|
EVENT_ASSET_DESCRIPTORS_CHANGED : String = "assetDescriptorsChanged" [靜態]
Defines the event type for an assetDescriptorsChanged event. | AssetManager | ||
EVENT_ASSET_LOAD_ERROR : String = "assetLoadError" [靜態]
Defines the event type for an assetLoadError event. | AssetManager | ||
EVENT_ASSET_PERMISSION_LOAD_ERROR : String = "assetPermissionsLoadError" [靜態]
Defines the event type for an assetPermissionsLoadError event. | AssetManager |
assetDescriptors | 屬性 |
userPermissions | 屬性 |
userPermissionsPrefixMap | 屬性 |
userPermissionsPrefixMap:Object
[唯寫] 語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}
.
實作
public function set userPermissionsPrefixMap(value:Object):void
AssetManager | () | 建構函式 |
public function AssetManager()
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
fetchAssetDescriptors | () | 方法 |
public function fetchAssetDescriptors():void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Loads AssetDescriptors.
initialize | () | 方法 |
public function initialize():void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Initialization is not required if the client explicitly sets UserPermissions and loads assets using fetchAssetDescriptors().
reset | () | 方法 |
public function reset():void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Resets the Asset Manager building block state to its state when assetDescriptors was created. That is, its initial state.
assetDescriptorsChanged | 事件 |
flash.events.Event
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Thrown when assetDescriptors are reset.
assetLoadError | 事件 |
mx.rpc.events.FaultEvent
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Thrown if an error occurs when AssetTypeDescriptor is loading.
assetPermissionsLoadError | 事件 |
mx.rpc.events.FaultEvent
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Thrown if an error occurs when permissions are loading.
EVENT_ASSET_DESCRIPTORS_CHANGED | 常數 |
public static const EVENT_ASSET_DESCRIPTORS_CHANGED:String = "assetDescriptorsChanged"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Defines the event type for an assetDescriptorsChanged event.
EVENT_ASSET_LOAD_ERROR | 常數 |
public static const EVENT_ASSET_LOAD_ERROR:String = "assetLoadError"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Defines the event type for an assetLoadError event.
EVENT_ASSET_PERMISSION_LOAD_ERROR | 常數 |
public static const EVENT_ASSET_PERMISSION_LOAD_ERROR:String = "assetPermissionsLoadError"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Defines the event type for an assetPermissionsLoadError event.
Tue Jun 12 2018, 03:47 PM Z