套件 | com.adobe.icc.services.module |
介面 | public interface IModuleResolverService 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 | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | IEventDispatcher | ||
會從 EventDispatcher 物件移除偵聽程式。 | IEventDispatcher | ||
resolveExpressions(expressions:ArrayCollection, contextData:ContextData):com.adobe.icc.token:IAsyncToken
Resolves the given list of expression. | IModuleResolverService | ||
Resolves the specified module to a fully-resolved (no dependencies) XHTML (for text modules) or byte (for image modules) value. | IModuleResolverService | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | IEventDispatcher |
方法詳細資訊
resolveExpressions | () | 方法 |
public function resolveExpressions(expressions:ArrayCollection, contextData:ContextData):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resolves the given list of expression. the expression which evaluate to 'true' would be returned as the resolved expression.
參數
expressions:ArrayCollection — The list of expressions to be resolved.
| |
contextData:ContextData — Context data to help with expression resolution.
|
com.adobe.icc.token:IAsyncToken — The expression string that resolves to true. Null, if none evaluates to true.
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
resolveModule | () | 方法 |
public function resolveModule(moduleId:String, contextData:ContextData):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Resolves the specified module to a fully-resolved (no dependencies) XHTML (for text modules) or byte (for image modules) value.
參數
moduleId:String — The GUID of module to resolve. Can refer to a text, image, list, condition, or any other type of module.
| |
contextData:ContextData — Context data to help with module resolution.
|
com.adobe.icc.token:IAsyncToken — ArrayCollection of ResolvedContent objects. If the resolved module was a list,
each item in the collection represents an item in the list, including nested lists. Regardless of the nesting
of modules (lists and conditions), the returned collection is flat.
|
擲回值
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