ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.icc.editors.managers 

ImportExportManager  - AS3 Asset Composer

Packagecom.adobe.icc.editors.managers
Classpublic class ImportExportManager
InheritanceImportExportManager Inheritance EventDispatcher Inheritance Object

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

A manager for managaging the asset import export functionality.



Public Properties
 PropertyDefined By
  assetIdList : IList
Gets the List of Id's of assets to be exported .
ImportExportManager
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  exportAssetList : IList
Gets the List of all the assets that would be exported or imported including the dependencies.
ImportExportManager
Protected Properties
 PropertyDefined By
  fileUploadManager : FileUploadManager
File Upload Manger For uploading files to the server
ImportExportManager
Public Methods
 MethodDefined By
  
Constructor.
ImportExportManager
 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.
EventDispatcher
 Inherited
Dispatches an event into the event flow.
EventDispatcher
  
This is called in case user pressed the Export All assets button present in the export tab of admin view.
ImportExportManager
  
exportPackage(exportInfoFlag:String):void
Calls the server for exporting the package.In case exportInfoFlag is true , then export all assets are called .
ImportExportManager
  
Fetches the package dependencies from the server
ImportExportManager
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
  
importAsset(importFilePath:String):void
This function imports the package using the crx path by making a server call .
ImportExportManager
  
Calls the server for importing the package.
ImportExportManager
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Protected Methods
 MethodDefined By
  
ImportExportManager
  
ImportExportManager
  
ImportExportManager
Events
 Event Summary Defined By
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active.EventDispatcher
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive.EventDispatcher
Public Constants
 ConstantDefined By
  ACTION_EXPORTPACKAGE : * = ExportPackage
[static] The constant specifying the export package action.
ImportExportManager
  ACTION_IMPORTPACKAGE : * = ImportPackage
[static] The constant specifying the import package action.
ImportExportManager
Property Detail

assetIdList

property
assetIdList:IList

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

Gets the List of Id's of assets to be exported .

This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange event.



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

exportAssetList

property 
exportAssetList:IList

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

Gets the List of all the assets that would be exported or imported including the dependencies.

This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange event.



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

fileUploadManager

property 
protected var fileUploadManager:FileUploadManager

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

File Upload Manger For uploading files to the server

Constructor Detail

ImportExportManager

()Constructor
public function ImportExportManager()

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

Constructor.

Method Detail

exportAllAssetInfo

()method
public function exportAllAssetInfo():void

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

This is called in case user pressed the Export All assets button present in the export tab of admin view.

exportPackage

()method 
public function exportPackage(exportInfoFlag:String):void

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

Calls the server for exporting the package.In case exportInfoFlag is true , then export all assets are called .

Parameters

exportInfoFlag:String — The string whose value if true calls export all assets.

getPackageDependencies

()method 
public function getPackageDependencies():void

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

Fetches the package dependencies from the server

importAsset

()method 
public function importAsset(importFilePath:String):void

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

This function imports the package using the crx path by making a server call .

Parameters

importFilePath:String — The file path from which assets will be imported.

importPackage

()method 
public function importPackage():void

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

Calls the server for importing the package.

onExportAssetComplete

()method 
protected function onExportAssetComplete(e:ResultEvent):void

Parameters

e:ResultEvent

onImportPackageComplete

()method 
protected function onImportPackageComplete(e:ResultEvent):void

Parameters

e:ResultEvent

onImportPackageFail

()method 
protected function onImportPackageFail(e:FaultEvent):Function

Parameters

e:FaultEvent

Returns
Function
Constant Detail

ACTION_EXPORTPACKAGE

Constant
public static const ACTION_EXPORTPACKAGE:* = ExportPackage

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

The constant specifying the export package action.

ACTION_IMPORTPACKAGE

Constant 
public static const ACTION_IMPORTPACKAGE:* = ImportPackage

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

The constant specifying the import package action.