Paket | mx.events |
Klass | public class SWFBridgeEvent |
Arv | SWFBridgeEvent Event Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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.
Egenskap | Definieras med | ||
---|---|---|---|
bubbles : Boolean [skrivskyddad]
indikerar om händelsen är en bubblande händelse. | Event | ||
cancelable : Boolean [skrivskyddad]
Indikerar om beteendet som är kopplat till händelsen kan förhindras. | Event | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
currentTarget : Object [skrivskyddad]
Det objekt som aktivt behandlar Event-objektet med en händelseavlyssnare. | Event | ||
data : Object
Information about the event. | SWFBridgeEvent | ||
eventPhase : uint [skrivskyddad]
Den nuvarande fasen i händelseflödet. | Event | ||
target : Object [skrivskyddad]
Händelsens mål. | Event | ||
type : String [skrivskyddad]
Händelsens typ. | Event |
Metod | Definieras med | ||
---|---|---|---|
SWFBridgeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, data:Object = null)
Constructor. | SWFBridgeEvent | ||
Skapar ett duplikat av en instans av en Event-underklass. | Event | ||
Ett verktyg som används för att implementera metoden toString() i de anpassade klasserna ActionScript 3.0. | Event | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Kontrollerar om preventDefault()-metoden har anropats för händelsen. | Event | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
[statisk]
Marshal a SWFBridgeRequest from a remote ApplicationDomain
into the current ApplicationDomain. | SWFBridgeEvent | ||
Avbryter en händelses standardbeteende om det beteendet kan avbrytas. | Event | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Förhindrar behandling av händelsehanterare i den aktuella noden och alla noder som följer den aktuella noden i händelseflödet. | Event | ||
Förhindrar behandling av händelsehanterare i noder som följer den aktuella noden i händelseflödet. | Event | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar en sträng som innehåller alla egenskaper i Event-objektet. | Event | ||
Returnerar det angivna objektets primitiva värde. | Object |
Konstant | Definieras med | ||
---|---|---|---|
BRIDGE_AIR_WINDOW_ACTIVATE : String = "bridgeAIRWindowActivate" [statisk]
Dispatched to a parent bridge or sandbox root to notify it that
the AIR window was activated. | SWFBridgeEvent | ||
BRIDGE_AIR_WINDOW_DEACTIVATE : String = "bridgeAIRWindowDeactivate" [statisk]
Dispatched to a parent bridge or sandbox root to notify it that
the AIR window was deactivated. | SWFBridgeEvent | ||
BRIDGE_APPLICATION_ACTIVATE : String = "bridgeApplicationActivate" [statisk]
Dispatched to a parent bridge or sandbox root to notify it that
another application has been activated. | SWFBridgeEvent | ||
BRIDGE_APPLICATION_UNLOADING : String = "bridgeApplicationUnloading" [statisk]
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" [statisk]
Dispatched through bridges to all other FocusManagers to notify them
that another FocusManager is now active. | SWFBridgeEvent | ||
BRIDGE_NEW_APPLICATION : String = "bridgeNewApplication" [statisk]
Dispatched through a parent bridge to its SWFLoader to notify it
that a new SystemManager has been initialized. | SWFBridgeEvent | ||
BRIDGE_WINDOW_ACTIVATE : String = "bridgeWindowActivate" [statisk]
Dispatched to a parent bridge or sandbox root to notify it that
a window was activated. | SWFBridgeEvent | ||
BRIDGE_WINDOW_DEACTIVATE : String = "brdigeWindowDeactivate" [statisk]
Dispatched to a parent bridge or sandbox root to notify it that
the proxy SystemManager was deactivated. | SWFBridgeEvent |
data | egenskap |
public var data:Object
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Information about the event.
SWFBridgeEvent | () | Konstruktor |
public function SWFBridgeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, data:Object = null)
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructor.
Parametrartype: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 | () | metod |
public static function marshal(event:Event):SWFBridgeEvent
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Marshal a SWFBridgeRequest from a remote ApplicationDomain into the current ApplicationDomain.
Parametrar
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 | Konstant |
public static const BRIDGE_AIR_WINDOW_ACTIVATE:String = "bridgeAIRWindowActivate"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | 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 | Konstant |
public static const BRIDGE_AIR_WINDOW_DEACTIVATE:String = "bridgeAIRWindowDeactivate"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | 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 | Konstant |
public static const BRIDGE_APPLICATION_ACTIVATE:String = "bridgeApplicationActivate"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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 | Konstant |
public static const BRIDGE_APPLICATION_UNLOADING:String = "bridgeApplicationUnloading"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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 | Konstant |
public static const BRIDGE_FOCUS_MANAGER_ACTIVATE:String = "bridgeFocusManagerActivate"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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 | Konstant |
public static const BRIDGE_NEW_APPLICATION:String = "bridgeNewApplication"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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 | Konstant |
public static const BRIDGE_WINDOW_ACTIVATE:String = "bridgeWindowActivate"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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 | Konstant |
public static const BRIDGE_WINDOW_DEACTIVATE:String = "brdigeWindowDeactivate"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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.
Tue Jun 12 2018, 01:40 PM Z