套件 | com.adobe.icc.services.export |
介面 | public interface IExportService extends IEventDispatcher |
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
方法 | 定義自 | ||
---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | IEventDispatcher | |
![]() |
會將事件傳送到事件流程。 | IEventDispatcher | |
Exports all assets(published/mark-for-published assets) and data dictionary (non-system)
| IExportService | ||
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 | ||
Exports the list of selected assets. | IExportService | ||
Fetches all the dependent assets of the selected assets from the server . | IExportService | ||
Information about all assets being exported
| IExportService | ||
![]() |
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | IEventDispatcher | |
Imports all the assets from the zip file. | IExportService | ||
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 | ||
Fetches all the assets to be imported from the (.zip) file . | IExportService | ||
![]() |
會從 EventDispatcher 物件移除偵聽程式。 | IEventDispatcher | |
![]() |
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | IEventDispatcher |
exportAllAssets | () | 方法 |
public function exportAllAssets():com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Exports all assets(published/mark-for-published assets) and data dictionary (non-system)
傳回值com.adobe.icc.token:IAsyncToken — Downloadable object having zip File content for all assets
|
exportAssetDefinition | () | 方法 |
public function exportAssetDefinition(assetType:int, assetId:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Export the definition of an asset in a readable XML format.
參數
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.
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
exportAssetDefinitionCompressed | () | 方法 |
public function exportAssetDefinitionCompressed(assetType:int, assetId:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Export the definition of an asset in a 'compressed' readable XML format.
參數
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.
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
相關 API 元素
exportAssetDependencies | () | 方法 |
public function exportAssetDependencies(assetType:int, assetId:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the asset depedencies in xml format
參數
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.
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
exportPackage | () | 方法 |
public function exportPackage(assetIdList:IList, packageName:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Exports the list of selected assets.
參數
assetIdList:IList — The IList type.
| |
packageName:String — The String type.
|
com.adobe.icc.token:IAsyncToken — The list of selected assets to be exported.
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
fetchPackageDependencies | () | 方法 |
public function fetchPackageDependencies(assetIdList:IList):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Fetches all the dependent assets of the selected assets from the server .
參數
assetIdList:IList — The IList type.
|
com.adobe.icc.token:IAsyncToken — all the dependent assets of the selected assets from the server
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
getAllExportedAssetsInfo | () | 方法 |
public function getAllExportedAssetsInfo():com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Information about all assets being exported
傳回值com.adobe.icc.token:IAsyncToken — List of Assets and Data Dictinary to be exported.
List may contains (TextModule, ListDataModule, ConditionalDataModule,
ImageModule, Form, FragmentLayout, Letter) and data dictionary (DataDictionary)
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
importAsset | () | 方法 |
public function importAsset(dataDownload:DataDownload):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Imports all the assets from the zip file.
參數
dataDownload:DataDownload — Downloadable object having zip file content
|
com.adobe.icc.token:IAsyncToken —
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
importAssetDefinition | () | 方法 |
public function importAssetDefinition(assetType:int, bytes:ByteArray, isCompressed:Boolean):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Reads the given XML data bytes (serialized asset bytes) and creates the corresponding asset object.
參數
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.
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
importPackage | () | 方法 |
public function importPackage(dataDownload:DataDownload):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Fetches all the assets to be imported from the (.zip) file .
參數
dataDownload:DataDownload — Downloadable object having zip file content
|
com.adobe.icc.token:IAsyncToken — list of assetID being imported.
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Tue Jun 12 2018, 03:47 PM Z