Paquete | com.adobe.icc.services.external |
Interfaz | public interface IExternalDataService extends IEventDispatcher |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Bloque de construcción Asset Composer 9.5 |
Versiones de motor de ejecución: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Métodos públicos
Método | Definido por | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un objeto de detector de eventos con un objeto EventDispatcher, de modo que el detector reciba la notificación de un evento. | IEventDispatcher | ||
Distribuye un evento en el flujo del evento. | IEventDispatcher | ||
Load the referenced external URL as binary data. | IExternalDataService | ||
Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de evento. | IEventDispatcher | ||
Elimina un detector del objeto EventDispatcher. | IEventDispatcher | ||
Comprueba si hay registrado un detector de eventos con este objeto EventDispatcher o con cualquiera de sus ascendientes para el tipo de evento concreto. | IEventDispatcher |
Información sobre métodos
getObject | () | método |
public function getObject(url:String):com.adobe.icc.token:IAsyncToken
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Bloque de construcción Asset Composer 9.5 |
Versiones de motor de ejecución: | 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.
Parámetros
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).
|
Emite
Error — If the URL is syntactically incorrect, relative or not supported.
|
Tue Jun 12 2018, 02:12 PM Z