Referência do ActionScript® 3.0 para Adobe® Flash® Platform
Início  |  Ocultar listas de Pacotes e Classes |  Pacotes  |  Classes  |  Novidades  |  Índice  |  Apêndices  |  Por que inglês?
Filtros: Recuperando dados do servidor...
Recuperando dados do servidor...
mx.rpc.events 

XMLLoadEvent  - AS3 Flex

Pacotemx.rpc.events
Classepublic class XMLLoadEvent
HerançaXMLLoadEvent Inheritance Event Inheritance Object
Subclasses WSDLLoadEvent

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

The XMLLoadEvent class is a base class for events that are dispatched when an RPC service successfully loaded an XML document.



Propriedades públicas
 PropriedadeDefinido por
 Inheritedbubbles : Boolean
[somente leitura] Indica se um evento é do tipo bubbling.
Event
 Inheritedcancelable : Boolean
[somente leitura] Indica se o comportamento associado ao evento pode ser impedido.
Event
 Inheritedconstructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto.
Object
 InheritedcurrentTarget : Object
[somente leitura] O objeto que está processando ativamente o objeto Event com um ouvinte de evento.
Event
 InheritedeventPhase : uint
[somente leitura] A fase atual no fluxo de eventos.
Event
  location : String
The location from which the document was loaded.
XMLLoadEvent
 Inheritedtarget : Object
[somente leitura] O destino de evento.
Event
 Inheritedtype : String
[somente leitura] O tipo de evento.
Event
  xml : XML
The raw XML document.
XMLLoadEvent
Métodos públicos
 MétodoDefinido por
  
XMLLoadEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, xml:XML = null, location:String = null)
Constructor.
XMLLoadEvent
  
[substituir] Returns a copy of this XMLLoadEvent object.
XMLLoadEvent
 Inherited
formatToString(className:String, ... arguments):String
Uma função de utilitário para implementar o método toString() em classes ActionScript 3.0 Event personalizadas.
Event
 Inherited
Indica se um objeto tem uma propriedade especificada definida.
Object
 Inherited
Verifica se o método preventDefault() foi chamado no evento.
Event
 Inherited
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro.
Object
 Inherited
Cancela um comportamento padrão de evento se esse comportamento puder ser cancelado.
Event
 Inherited
Indica se a propriedade especificada existe e é enumerável.
Object
 Inherited
Define a disponibilidade de uma propriedade dinâmica para operações de repetição.
Object
 Inherited
Impede o processamento de qualquer ouvinte de evento no nó atual e qualquer nó subsequente no fluxo de eventos.
Event
 Inherited
Impede o processamento de algum ouvinte de evento em nós subsequentes ao nó atual no fluxo de eventos.
Event
 Inherited
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade.
Object
  
[substituir] Returns a String representation of this XMLLoadEvent object.
XMLLoadEvent
 Inherited
Retorna o valor primitivo do objeto especificado.
Object
Constantes públicas
 ConstanteDefinido por
  LOAD : String = "xmlLoad"
[estático] The LOAD constant defines the value of the type property of the event object for a xmlLoad event.
XMLLoadEvent
Detalhes da propriedade

location

propriedade
public var location:String

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

The location from which the document was loaded.

xml

propriedade 
public var xml:XML

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

The raw XML document.

Detalhes do construtor

XMLLoadEvent

()Construtor
public function XMLLoadEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, xml:XML = null, location:String = null)

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Constructor.

Parâmetros
type:String — The event type; indicates the action that triggered the event.
 
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = true) — Specifies whether the behavior associated with the event can be prevented.
 
xml:XML (default = null) — The XML document loaded.
 
location:String (default = null) — The path used to load the document.
Detalhes do método

clone

()método
override public function clone():Event

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Returns a copy of this XMLLoadEvent object.

Retorna
Event — A copy of this XMLLoadEvent object.

toString

()método 
override public function toString():String

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Returns a String representation of this XMLLoadEvent object.

Retorna
String — A String representation of this XMLLoadEvent object.
Detalhes da constante

LOAD

Constante
public static const LOAD:String = "xmlLoad"

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

The LOAD constant defines the value of the type property of the event object for a xmlLoad event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelabletrue
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
locationThe location from which the document was loaded.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
xmlThe raw XML document.





[ X ]Por que inglês?
O conteúdo na Referência do ActionScript 3.0 aparece em inglês

Nem todas as partes da Referência do ActionScript 3.0 estão traduzidas em todos os idiomas. Quando um elemento de um idioma não está traduzido, ele é exibido em inglês. Por exemplo, a classe ga.controls.HelpBox não está traduzida em nenhum idioma. Por isso, na versão da referência em português do Brasil, a classe ga.controls.HelpBox é exibida em inglês.