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.services.config 

IConfigService  - AS3 Asset Composer

Packagecom.adobe.icc.services.config
Interfacepublic interface IConfigService extends IEventDispatcher

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

Defines a service for Configuration management.



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
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
IEventDispatcher
  
Loads the Flex Domain Model Extensions configuration parameters.
IConfigService
  
Load Flex Configuration parameters.
IConfigService
 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
Method Detail

loadExtensionsConfig

()method
public function loadExtensionsConfig(locale:String = null):com.adobe.icc.token:IAsyncToken

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

Loads the Flex Domain Model Extensions configuration parameters.

Parameters

locale:String (default = null) — Locale for which Extension configuration parameters are to be loaded.

Returns
com.adobe.icc.token:IAsyncToken — A XML object.

Throws
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.

loadFlexConfig

()method 
public function loadFlexConfig():com.adobe.icc.token:IAsyncToken

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

Load Flex Configuration parameters.

Returns
com.adobe.icc.token:IAsyncTokenFlexConfiguration object (parameter values are specified in the cm.properties file on the server).

Throws
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.