| Package | com.adobe.livecycle.assetmanager.client.managers |
| Class | public class AssetManager |
| Inheritance | AssetManager EventDispatcher Object |
| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
| Property | Defined By | ||
|---|---|---|---|
| assetDescriptors : IList
Returns the list of available AssetDescriptors. | AssetManager | ||
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
![]() | prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | |
| userPermissions : IList
Specifies the permissions for the current user. | AssetManager | ||
| userPermissionsPrefixMap : Object [write-only]
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}. | AssetManager | ||
| Method | Defined By | ||
|---|---|---|---|
Constructor. | AssetManager | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | EventDispatcher | |
![]() |
Dispatches an event into the event flow. | EventDispatcher | |
Loads AssetDescriptors. | AssetManager | ||
![]() |
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | EventDispatcher | |
![]() |
Indicates whether an object has a specified property defined. | Object | |
Initialization is not required if the client explicitly sets UserPermissions and loads assets using fetchAssetDescriptors(). | AssetManager | ||
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Removes a listener from the EventDispatcher object. | EventDispatcher | |
Resets the Asset Manager building block state to its state when assetDescriptors was created. | AssetManager | ||
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object | |
![]() |
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type. | EventDispatcher | |
| Event | Summary | Defined By | ||
|---|---|---|---|---|
![]() | [broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active. | 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 | |||
![]() | [broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive. | EventDispatcher | ||
| Constant | Defined By | ||
|---|---|---|---|
| EVENT_ASSET_DESCRIPTORS_CHANGED : String = "assetDescriptorsChanged" [static]
Defines the event type for an assetDescriptorsChanged event. | AssetManager | ||
| EVENT_ASSET_LOAD_ERROR : String = "assetLoadError" [static]
Defines the event type for an assetLoadError event. | AssetManager | ||
| EVENT_ASSET_PERMISSION_LOAD_ERROR : String = "assetPermissionsLoadError" [static]
Defines the event type for an assetPermissionsLoadError event. | AssetManager | ||
assetDescriptors | property |
assetDescriptors:IList| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Returns the list of available AssetDescriptors.
Implementation
public function get assetDescriptors():IList public function set assetDescriptors(value:IList):voiduserPermissions | property |
userPermissions:IList| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the permissions for the current user.
Implementation
public function get userPermissions():IList public function set userPermissions(value:IList):voiduserPermissionsPrefixMap | property |
userPermissionsPrefixMap:Object [write-only] | Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}.
Implementation
public function set userPermissionsPrefixMap(value:Object):voidAssetManager | () | Constructor |
public function AssetManager()| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
fetchAssetDescriptors | () | method |
public function fetchAssetDescriptors():void| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Loads AssetDescriptors.
initialize | () | method |
public function initialize():void| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | 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 | () | method |
public function reset():void| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | 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 | Event |
flash.events.Event| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Thrown when assetDescriptors are reset.
assetLoadError | Event |
mx.rpc.events.FaultEvent| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Thrown if an error occurs when AssetTypeDescriptor is loading.
assetPermissionsLoadError | Event |
mx.rpc.events.FaultEvent| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Thrown if an error occurs when permissions are loading.
EVENT_ASSET_DESCRIPTORS_CHANGED | Constant |
public static const EVENT_ASSET_DESCRIPTORS_CHANGED:String = "assetDescriptorsChanged"| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Defines the event type for an assetDescriptorsChanged event.
EVENT_ASSET_LOAD_ERROR | Constant |
public static const EVENT_ASSET_LOAD_ERROR:String = "assetLoadError"| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Defines the event type for an assetLoadError event.
EVENT_ASSET_PERMISSION_LOAD_ERROR | Constant |
public static const EVENT_ASSET_PERMISSION_LOAD_ERROR:String = "assetPermissionsLoadError"| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Defines the event type for an assetPermissionsLoadError event.
Mon Nov 28 2011, 06:48 AM -08:00
Hide Inherited Public Properties
Show Inherited Public Properties