| Pacote | org.osmf.events |
| Classe | public class LoadEvent |
| Herança | LoadEvent Event Object |
| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | OSMF 1.0, OSMF for Flex 4.0 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Propriedades públicas
| Propriedade | Definido por | ||
|---|---|---|---|
![]() | bubbles : Boolean [somente leitura]
Indica se um evento é do tipo bubbling. | Event | |
| bytes : Number [somente leitura]
New value of bytesLoaded or bytesTotal. | LoadEvent | ||
![]() | cancelable : Boolean [somente leitura]
Indica se o comportamento associado ao evento pode ser impedido. | Event | |
![]() | constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | |
![]() | currentTarget : Object [somente leitura]
O objeto que está processando ativamente o objeto Event com um ouvinte de evento. | Event | |
![]() | eventPhase : uint [somente leitura]
A fase atual no fluxo de eventos. | Event | |
| loadState : String [somente leitura]
New LoadState of the LoadTrait. | LoadEvent | ||
![]() | target : Object [somente leitura]
O destino de evento. | Event | |
![]() | type : String [somente leitura]
O tipo de evento. | Event | |
Métodos públicos
| Método | Definido por | ||
|---|---|---|---|
LoadEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, loadState:String = null, bytes:Number = NaN)
Constructor. | LoadEvent | ||
![]() |
Duplica uma ocorrência de uma subclasse Event. | Event | |
![]() |
Uma função de utilitário para implementar o método toString() em classes ActionScript 3.0 Event personalizadas. | Event | |
![]() |
Indica se um objeto tem uma propriedade especificada definida. | Object | |
![]() |
Verifica se o método preventDefault() foi chamado no evento. | Event | |
![]() |
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | |
![]() |
Cancela um comportamento padrão de evento se esse comportamento puder ser cancelado. | Event | |
![]() |
Indica se a propriedade especificada existe e é enumerável. | Object | |
![]() |
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | |
![]() |
Impede o processamento de qualquer ouvinte de evento no nó atual e qualquer nó subsequente no fluxo de eventos. | Event | |
![]() |
Impede o processamento de algum ouvinte de evento em nós subsequentes ao nó atual no fluxo de eventos. | Event | |
![]() |
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | |
![]() |
Retorna uma string que contém todas as propriedades do objeto Event. | Event | |
![]() |
Retorna o valor primitivo do objeto especificado. | Object | |
Constantes públicas
| Constante | Definido por | ||
|---|---|---|---|
| BYTES_LOADED_CHANGE : String = "bytesLoadedChange" [estático]
The LoadEvent.BYTES_LOADED_CHANGE constant defines the value
of the type property of the event object for a bytesLoadedChange
event. | LoadEvent | ||
| BYTES_TOTAL_CHANGE : String = "bytesTotalChange" [estático]
The LoadEvent.BYTES_TOTAL_CHANGE constant defines the value
of the type property of the event object for a bytesTotalChange
event. | LoadEvent | ||
| LOAD_STATE_CHANGE : String = "loadStateChange" [estático]
The LoadEvent.LOAD_STATE_CHANGE constant defines the value
of the type property of the event object for a loadStateChange
event. | LoadEvent | ||
Detalhes da propriedade
bytes | propriedade |
loadState | propriedade |
Detalhes do construtor
LoadEvent | () | Construtor |
public function LoadEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, loadState:String = null, bytes:Number = NaN)| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | OSMF 1.0, OSMF for Flex 4.0 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Constructor.
Parâmetrostype:String — Event type.
| |
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
| |
loadState:String (default = null) — New LoadState of the LoadTrait.
| |
bytes:Number (default = NaN) — New value of bytesLoaded or bytesTotal. Returns NaN when media is unloaded.
|
Detalhes da constante
BYTES_LOADED_CHANGE | Constante |
public static const BYTES_LOADED_CHANGE:String = "bytesLoadedChange"| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | OSMF 1.0, OSMF for Flex 4.0 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
The LoadEvent.BYTES_LOADED_CHANGE constant defines the value of the type property of the event object for a bytesLoadedChange event.
BYTES_TOTAL_CHANGE | Constante |
public static const BYTES_TOTAL_CHANGE:String = "bytesTotalChange"| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | OSMF 1.0, OSMF for Flex 4.0 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
The LoadEvent.BYTES_TOTAL_CHANGE constant defines the value of the type property of the event object for a bytesTotalChange event.
LOAD_STATE_CHANGE | Constante |
public static const LOAD_STATE_CHANGE:String = "loadStateChange"| Versão da linguagem: | ActionScript 3.0 |
| Versões de produto: | OSMF 1.0, OSMF for Flex 4.0 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
The LoadEvent.LOAD_STATE_CHANGE constant defines the value of the type property of the event object for a loadStateChange event.
Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas