Paket | com.adobe.icc.services.external |
Gränssnitt | public interface IExternalDataService extends IEventDispatcher |
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | IEventDispatcher | ||
Skickar en händelse till händelseflödet. | IEventDispatcher | ||
Load the referenced external URL as binary data. | IExternalDataService | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | IEventDispatcher | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | IEventDispatcher | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | IEventDispatcher |
Metoddetaljer
getObject | () | metod |
public function getObject(url:String):com.adobe.icc.token:IAsyncToken
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | 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.
Parametrar
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).
|
Utlöser
Error — If the URL is syntactically incorrect, relative or not supported.
|
Tue Jun 12 2018, 01:40 PM Z