Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
mx.events 

SWFBridgeEvent  - AS3 Flex

Pacchettomx.events
Classepublic class SWFBridgeEvent
EreditarietàSWFBridgeEvent Inheritance Event Inheritance Object

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

This is an event that is sent between applications that are in different security sandboxes. The event lets objects in other sandboxes know what is going on in this sandbox. The events are informational in nature as opposed to a SWFBridgeRequest, which request an object do something on its behalf.

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.



Proprietà pubbliche
 ProprietàDefinito da
 Inheritedbubbles : Boolean
[sola lettura] Indica se un evento è un evento di bubbling.
Event
 Inheritedcancelable : Boolean
[sola lettura] Indica se il comportamento associato all'evento può essere impedito.
Event
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
 InheritedcurrentTarget : Object
[sola lettura] L'oggetto che elabora attivamente l'oggetto Event con un listener di eventi.
Event
  data : Object
Information about the event.
SWFBridgeEvent
 InheritedeventPhase : uint
[sola lettura] La fase attuale del flusso di eventi.
Event
 Inheritedtarget : Object
[sola lettura] Il target dell'evento.
Event
 Inheritedtype : String
[sola lettura] Il tipo di evento.
Event
Metodi pubblici
 MetodoDefinito da
  
SWFBridgeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, data:Object = null)
Constructor.
SWFBridgeEvent
 Inherited
Duplica un'istanza di una sottoclasse Event.
Event
 Inherited
formatToString(className:String, ... arguments):String
Una funzione dell'utilità per l'implementazione del metodo toString() in classi Event ActionScript 3.0 personalizzate.
Event
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
 Inherited
Verifica se sull'evento è stato chiamato il metodo preventDefault().
Event
 Inherited
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro.
Object
  
[statico] Marshal a SWFBridgeRequest from a remote ApplicationDomain into the current ApplicationDomain.
SWFBridgeEvent
 Inherited
Annulla il comportamento predefinito di un evento se tale comportamento può essere annullato.
Event
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
 Inherited
Impedisce l'elaborazione di tutti i listener di eventi nel nodo corrente e in tutti i nodi successivi del flusso di eventi.
Event
 Inherited
Impedisce l'elaborazione di tutti i listener di eventi nei nodi del flusso di eventi successivi a quello corrente.
Event
 Inherited
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate.
Object
 Inherited
Restituisce una stringa che contiene tutte le proprietà dell'oggetto Event.
Event
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
Costanti pubbliche
 CostanteDefinito da
  BRIDGE_AIR_WINDOW_ACTIVATE : String = "bridgeAIRWindowActivate"
[statico] Dispatched to a parent bridge or sandbox root to notify it that the AIR window was activated.
SWFBridgeEvent
  BRIDGE_AIR_WINDOW_DEACTIVATE : String = "bridgeAIRWindowDeactivate"
[statico] Dispatched to a parent bridge or sandbox root to notify it that the AIR window was deactivated.
SWFBridgeEvent
  BRIDGE_APPLICATION_ACTIVATE : String = "bridgeApplicationActivate"
[statico] Dispatched to a parent bridge or sandbox root to notify it that another application has been activated.
SWFBridgeEvent
  BRIDGE_APPLICATION_UNLOADING : String = "bridgeApplicationUnloading"
[statico] 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"
[statico] Dispatched through bridges to all other FocusManagers to notify them that another FocusManager is now active.
SWFBridgeEvent
  BRIDGE_NEW_APPLICATION : String = "bridgeNewApplication"
[statico] Dispatched through a parent bridge to its SWFLoader to notify it that a new SystemManager has been initialized.
SWFBridgeEvent
  BRIDGE_WINDOW_ACTIVATE : String = "bridgeWindowActivate"
[statico] Dispatched to a parent bridge or sandbox root to notify it that a window was activated.
SWFBridgeEvent
  BRIDGE_WINDOW_DEACTIVATE : String = "brdigeWindowDeactivate"
[statico] Dispatched to a parent bridge or sandbox root to notify it that the proxy SystemManager was deactivated.
SWFBridgeEvent
Descrizione delle proprietà

data

proprietà
public var data:Object

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

Information about the event.

Descrizione della funzione di costruzione

SWFBridgeEvent

()Funzione di costruzione
public function SWFBridgeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, data:Object = null)

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

Constructor.

Parametri
type: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.
Descrizione dei metodi

marshal

()metodo
public static function marshal(event:Event):SWFBridgeEvent

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

Marshal a SWFBridgeRequest from a remote ApplicationDomain into the current ApplicationDomain.

Parametri

event:Event — A SWFBridgeRequest which might have been created in a different ApplicationDomain.

Restituisce
SWFBridgeEvent — A SWFBridgeEvent that was created in the caller's ApplicationDomain.
Descrizione delle costanti

BRIDGE_AIR_WINDOW_ACTIVATE

Costante
public static const BRIDGE_AIR_WINDOW_ACTIVATE:String = "bridgeAIRWindowActivate"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 4
Versioni 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

Costante 
public static const BRIDGE_AIR_WINDOW_DEACTIVATE:String = "bridgeAIRWindowDeactivate"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 4
Versioni 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

Costante 
public static const BRIDGE_APPLICATION_ACTIVATE:String = "bridgeApplicationActivate"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni 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

Costante 
public static const BRIDGE_APPLICATION_UNLOADING:String = "bridgeApplicationUnloading"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni 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

Costante 
public static const BRIDGE_FOCUS_MANAGER_ACTIVATE:String = "bridgeFocusManagerActivate"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni 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

Costante 
public static const BRIDGE_NEW_APPLICATION:String = "bridgeNewApplication"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni 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

Costante 
public static const BRIDGE_WINDOW_ACTIVATE:String = "bridgeWindowActivate"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni 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

Costante 
public static const BRIDGE_WINDOW_DEACTIVATE:String = "brdigeWindowDeactivate"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni 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.





[ X ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.