Pacote | mx.events |
Classe | public class SWFBridgeEvent |
Herança | SWFBridgeEvent Event Object |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
This class defines event constants that refer to "activation". In this case, activation means one of the components in the application can receive the keyboard input focus. When an application is activated, the component that last had focus receives focus again.
Propriedade | Definido por | ||
---|---|---|---|
bubbles : Boolean [somente leitura]
Indica se um evento é do tipo bubbling. | Event | ||
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 | ||
data : Object
Information about the event. | SWFBridgeEvent | ||
eventPhase : uint [somente leitura]
A fase atual no fluxo de eventos. | Event | ||
target : Object [somente leitura]
O destino de evento. | Event | ||
type : String [somente leitura]
O tipo de evento. | Event |
Método | Definido por | ||
---|---|---|---|
SWFBridgeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, data:Object = null)
Constructor. | SWFBridgeEvent | ||
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 | ||
[estático]
Marshal a SWFBridgeRequest from a remote ApplicationDomain
into the current ApplicationDomain. | SWFBridgeEvent | ||
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 |
Constante | Definido por | ||
---|---|---|---|
BRIDGE_AIR_WINDOW_ACTIVATE : String = "bridgeAIRWindowActivate" [estático]
Dispatched to a parent bridge or sandbox root to notify it that
the AIR window was activated. | SWFBridgeEvent | ||
BRIDGE_AIR_WINDOW_DEACTIVATE : String = "bridgeAIRWindowDeactivate" [estático]
Dispatched to a parent bridge or sandbox root to notify it that
the AIR window was deactivated. | SWFBridgeEvent | ||
BRIDGE_APPLICATION_ACTIVATE : String = "bridgeApplicationActivate" [estático]
Dispatched to a parent bridge or sandbox root to notify it that
another application has been activated. | SWFBridgeEvent | ||
BRIDGE_APPLICATION_UNLOADING : String = "bridgeApplicationUnloading" [estático]
Sent through a bridge to a child application's SystemManager
to notify it that the SWF is about to be unloaded. | SWFBridgeEvent | ||
BRIDGE_FOCUS_MANAGER_ACTIVATE : String = "bridgeFocusManagerActivate" [estático]
Dispatched through bridges to all other FocusManagers to notify them
that another FocusManager is now active. | SWFBridgeEvent | ||
BRIDGE_NEW_APPLICATION : String = "bridgeNewApplication" [estático]
Dispatched through a parent bridge to its SWFLoader to notify it
that a new SystemManager has been initialized. | SWFBridgeEvent | ||
BRIDGE_WINDOW_ACTIVATE : String = "bridgeWindowActivate" [estático]
Dispatched to a parent bridge or sandbox root to notify it that
a window was activated. | SWFBridgeEvent | ||
BRIDGE_WINDOW_DEACTIVATE : String = "brdigeWindowDeactivate" [estático]
Dispatched to a parent bridge or sandbox root to notify it that
the proxy SystemManager was deactivated. | SWFBridgeEvent |
data | propriedade |
public var data:Object
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Information about the event.
SWFBridgeEvent | () | Construtor |
public function SWFBridgeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, data:Object = 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âmetrostype:String — The event type; indicates the action that caused the event.
| |
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.
| |
data:Object (default = null ) — An object that is null by default, but can contain
information about the event, depending on the type of event.
|
marshal | () | método |
public static function marshal(event:Event):SWFBridgeEvent
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Marshal a SWFBridgeRequest from a remote ApplicationDomain into the current ApplicationDomain.
Parâmetros
event:Event — A SWFBridgeRequest which might have been created
in a different ApplicationDomain.
|
SWFBridgeEvent — A SWFBridgeEvent that was created
in the caller's ApplicationDomain.
|
BRIDGE_AIR_WINDOW_ACTIVATE | Constante |
public static const BRIDGE_AIR_WINDOW_ACTIVATE:String = "bridgeAIRWindowActivate"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4 |
Versões de runtime: | Flash Player 10, AIR 1.5 |
Dispatched to a parent bridge or sandbox root to notify it that the AIR window was activated.
BRIDGE_AIR_WINDOW_DEACTIVATE | Constante |
public static const BRIDGE_AIR_WINDOW_DEACTIVATE:String = "bridgeAIRWindowDeactivate"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 4 |
Versões de runtime: | Flash Player 10, AIR 1.5 |
Dispatched to a parent bridge or sandbox root to notify it that the AIR window was deactivated.
BRIDGE_APPLICATION_ACTIVATE | Constante |
public static const BRIDGE_APPLICATION_ACTIVATE:String = "bridgeApplicationActivate"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched to a parent bridge or sandbox root to notify it that another application has been activated.
BRIDGE_APPLICATION_UNLOADING | Constante |
public static const BRIDGE_APPLICATION_UNLOADING:String = "bridgeApplicationUnloading"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Sent through a bridge to a child application's SystemManager to notify it that the SWF is about to be unloaded. The SystemManager marshals and re-dispatches the event so that application code can remove references that would prevent the SWF file from unloading.
BRIDGE_FOCUS_MANAGER_ACTIVATE | Constante |
public static const BRIDGE_FOCUS_MANAGER_ACTIVATE:String = "bridgeFocusManagerActivate"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched through bridges to all other FocusManagers to notify them that another FocusManager is now active.
BRIDGE_NEW_APPLICATION | Constante |
public static const BRIDGE_NEW_APPLICATION:String = "bridgeNewApplication"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched through a parent bridge to its SWFLoader to notify it that a new SystemManager has been initialized.
BRIDGE_WINDOW_ACTIVATE | Constante |
public static const BRIDGE_WINDOW_ACTIVATE:String = "bridgeWindowActivate"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched to a parent bridge or sandbox root to notify it that
a window was activated.
For a compatible application, the data
property
is an object with two properties, window
and notifier
. The data.window
property
is the SystemManager proxy that was activated.
For an untrusted application, the data.window
property
is a string id of the window. The
data.notifier
property is the bridge of the
application dispatching the event. The event might be dispatched
directly to a sandbox root instead of over a bridge,
so event.target
might not be the bridge
of the application dispatching the event.
BRIDGE_WINDOW_DEACTIVATE | Constante |
public static const BRIDGE_WINDOW_DEACTIVATE:String = "brdigeWindowDeactivate"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Dispatched to a parent bridge or sandbox root to notify it that
the proxy SystemManager was deactivated.
For a compatible application, the data
property
is an object with two properties, window
and notifier
. The data.window
property
is the SystemManager proxy that was activated.
For an untrusted application, the data.window
property
is a string id of the window. The
data.notifier
property is the bridge of the
application dispatching the event. The event might be dispatched
directly to a sandbox root instead of over a bridge,
so event.target
might not be the bridge
of the application dispatching the event.
Wed Jun 13 2018, 11:10 AM Z