(Beta)
Package | com.adobe.icc.services.export |
Interface | public interface IExportService extends IEventDispatcher |
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Public Methods
Method | Defined By | ||
---|---|---|---|
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 | ||
Dispatches an event into the event flow. | IEventDispatcher | ||
Export the definition of an asset in a readable XML format. | IExportService | ||
Export the definition of an asset in a 'compressed' readable XML format. | IExportService | ||
Retrieves the asset depedencies in xml format
| IExportService | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | IEventDispatcher | ||
importAssetDefinition(assetType:int, bytes:ByteArray, isCompressed:Boolean):com.adobe.icc.token:IAsyncToken
Reads the given XML data bytes (serialized asset bytes) and creates the corresponding asset object. | IExportService | ||
Removes a listener from the EventDispatcher object. | IEventDispatcher | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | IEventDispatcher |
Method Detail
exportAssetDefinition | () | method |
public function exportAssetDefinition(assetType:int, assetId:String):com.adobe.icc.token:IAsyncToken
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Export the definition of an asset in a readable XML format.
Parameters
assetType:int — The asset type.
| |
assetId:String — The asset identifier (GUID).
|
com.adobe.icc.token:IAsyncToken — A DataDownload object containing the asset definition data. That is xml as bytes.
|
Throws
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Related API Elements
exportAssetDefinitionCompressed | () | method |
public function exportAssetDefinitionCompressed(assetType:int, assetId:String):com.adobe.icc.token:IAsyncToken
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Export the definition of an asset in a 'compressed' readable XML format.
Parameters
assetType:int — The asset type.
| |
assetId:String — The asset identifier (GUID).
|
com.adobe.icc.token:IAsyncToken — A DataDownload object containing the asset definition data. That is xml as bytes.
|
Throws
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Related API Elements
exportAssetDependencies | () | method |
public function exportAssetDependencies(assetType:int, assetId:String):com.adobe.icc.token:IAsyncToken
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Retrieves the asset depedencies in xml format
Parameters
assetType:int — The asset type.
| |
assetId:String — The asset identifier (GUID).
|
com.adobe.icc.token:IAsyncToken — A DataDownload object containing the asset dependencies. That is xml as bytes.
|
Throws
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Related API Elements
importAssetDefinition | () | method |
public function importAssetDefinition(assetType:int, bytes:ByteArray, isCompressed:Boolean):com.adobe.icc.token:IAsyncToken
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Reads the given XML data bytes (serialized asset bytes) and creates the corresponding asset object.
Parameters
assetType:int — The asset type.
| |
bytes:ByteArray — The asset definition bytes, that may have been generated using exportAssetDefinition .
| |
isCompressed:Boolean — True, if the bytes are compressed. False otherwise.
|
com.adobe.icc.token:IAsyncToken — A DataDownload object containing the letter definition data. That is xml as bytes.
|
Throws
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Related API Elements
Wed Nov 21 2018, 06:34 AM -08:00