套件 | com.adobe.icc.services.external |
介面 | public interface IExternalDataService 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 | ||
Load the referenced external URL as binary data. | IExternalDataService | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | IEventDispatcher | ||
會從 EventDispatcher 物件移除偵聽程式。 | IEventDispatcher | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | IEventDispatcher |
方法詳細資訊
getObject | () | 方法 |
public function getObject(url:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Load the referenced external URL as binary data. Supported schemes are the standard JVM URL schemes such as HTTP, FTP, file:///, etc., as well as file:// (to fetch data from a local file, i.e. the same server as the application).
Note: An exception is not thrown if the URL appears valid but the referenced resource cannot be read. In this case, the operation is deemed successful but null is returned instead of the bytes.
參數
url:String — The absolute URL from which to retrieve the data.
|
com.adobe.icc.token:IAsyncToken — A ByteArray containing the binary data retrieved or null if the URL was syntactically valid but the data could not be
read from the resource (e.g. the resource doesn't exist).
|
擲回值
Error — If the URL is syntactically incorrect, relative or not supported.
|
Tue Jun 12 2018, 03:47 PM Z