ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.livecycle.assetmanager.client.handler 

IAssetHandler  - AS3 Asset Manager

Packagecom.adobe.livecycle.assetmanager.client.handler
Interfacepublic interface IAssetHandler extends IEventDispatcher
Implementors PermissionBasedAssetHandler
Deprecated: Deprecated

Language Version: ActionScript 3.0
Product Version: Asset Manager Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

Used by a component to introduce a new asset or create a custom handler for an existing asset type.



Public Properties
 PropertyDefined By
  assetActions : IList
Specifies the list of actions that are associated with the asset that is handled by this handler.
IAssetHandler
  selectedAssets : Array
Specifies the array of currently selected assets.
IAssetHandler
Public Methods
 MethodDefined By
 Inherited
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.
IEventDispatcher
 Inherited
Dispatches an event into the event flow.
IEventDispatcher
  
Returns the asset type associated with the asset.
IAssetHandler
  
Called when a user clicks an action associated with an asset type.
IAssetHandler
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
IEventDispatcher
  
Initializes the handler.
IAssetHandler
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
IEventDispatcher
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
IEventDispatcher
Property Detail

assetActions

property
assetActions: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 list of actions that are associated with the asset that is handled by this handler.



Implementation
    public function get assetActions():IList
    public function set assetActions(value:IList):void

selectedAssets

property 
selectedAssets:Array

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 array of currently selected assets.



Implementation
    public function get selectedAssets():Array
    public function set selectedAssets(value:Array):void
Method Detail

getAssetType

()method
public function getAssetType():String

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 asset type associated with the asset.

Returns
String — An asset type string.

handleAction

()method 
public function handleAction(action:AssetActionEvent):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

Called when a user clicks an action associated with an asset type.

Parameters

action:AssetActionEvent — The event that is thrown when the user clicks an action associated with an asset type.

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

Initializes the handler. Called when AssetHandlerRegistry starts.