| Pacote | spark.core |
| Interface | public interface IContentLoader extends IEventDispatcher |
| Implementadores | ContentCache |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Métodos públicos
| Método | Definido por | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | IEventDispatcher | |
![]() |
Envia um evento para o fluxo de eventos. | IEventDispatcher | |
![]() |
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | IEventDispatcher | |
Initiates a content request for the resource identified
by the key specified. | IContentLoader | ||
![]() |
Remove um ouvinte do objeto EventDispatcher. | IEventDispatcher | |
![]() |
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | IEventDispatcher | |
Detalhes do método
load | () | método |
public function load(source:Object, contentLoaderGrouping:String = null):ContentRequest| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Initiates a content request for the resource identified by the key specified.
Parâmetros
source:Object — Unique key used to represent the requested content resource.
This parameter is typically an URL or URLRequest.
| |
contentLoaderGrouping:String (default = null) — - (Optional) grouping identifier for the loaded resource.
ContentLoader instances supporting content groups generally allow for
resources within the same named grouping to be addressed as a whole. For
example the ContentCache's loader queue allows requests to be prioritized
by contentLoaderGrouping.
|
ContentRequest — A ContentRequest instance representing the requested resource.
|
Wed Jun 13 2018, 11:10 AM Z
Ocultar métodos públicos herdados
Mostrar métodos públicos herdados