Paket | mx.events |
Klass | public class MetadataEvent |
Arv | MetadataEvent Event Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Relaterade API-element
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 | ||
eventPhase : uint [skrivskyddad]
Den nuvarande fasen i händelseflödet. | Event | ||
info : Object
For events off type ACTION_SCRIPT and CUE_POINT,
the index of the cue point in the VideoDisplay.cuePoint Array. | MetadataEvent | ||
target : Object [skrivskyddad]
Händelsens mål. | Event | ||
type : String [skrivskyddad]
Händelsens typ. | Event |
Metod | Definieras med | ||
---|---|---|---|
Constructor. | MetadataEvent | ||
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 | ||
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 | ||
---|---|---|---|
ACTION_SCRIPT : String = "actionscript" [statisk]
The MetadataEvent.ACTION_SCRIPT constant defines the value of the
type property of the event object for a actionscript event. | MetadataEvent | ||
CUE_POINT : String = "cuePoint" [statisk]
The MetadataEvent.CUE_POINT constant defines the value of the
type property of the event object for a cuePoint event. | MetadataEvent | ||
METADATA_RECEIVED : String = "metadataReceived" [statisk]
The MetadataEvent.METADATA_RECEIVED constant defines the value of the
type property for a metadataReceived event. | MetadataEvent |
info | egenskap |
public var info:Object
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
For events off type ACTION_SCRIPT
and CUE_POINT
,
the index of the cue point in the VideoDisplay.cuePoint
Array.
For events off type METADATA_RECEIVED
,
an object describing the FLV file, including any cue points,
which is the same information as the VideoDisplay.metadata
property.
Relaterade API-element
MetadataEvent | () | Konstruktor |
public function MetadataEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, info: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.
| |
info:Object (default = null ) — For events off type ACTION_SCRIPT and CUE_POINT ,
the index of the cue point in the VideoDisplay.cuePoint Array.
For events off type METADATA_RECEIVED ,
an object describing the FLV file, including any cue points,
which is the same information as the VideoDisplay.metadata property.
|
ACTION_SCRIPT | Konstant |
public static const ACTION_SCRIPT:String = "actionscript"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The MetadataEvent.ACTION_SCRIPT constant defines the value of the
type
property of the event object for a actionscript
event.
These cue points are not embedded in the FLV file but defined
using ActionScript at run time.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The 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 . |
info | The index of the cue point in the VideoDisplay.cuePoint Array. |
target | The 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. |
CUE_POINT | Konstant |
public static const CUE_POINT:String = "cuePoint"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The MetadataEvent.CUE_POINT constant defines the value of the
type
property of the event object for a cuePoint
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The 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 . |
info | The index of the cue point in the VideoDisplay.cuePoint Array. |
target | The 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. |
METADATA_RECEIVED | Konstant |
public static const METADATA_RECEIVED:String = "metadataReceived"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The MetadataEvent.METADATA_RECEIVED constant defines the value of the
type
property for a metadataReceived
event.
This event has the following properties:
Property | Value |
---|---|
bubbles | false |
cancelable | false ;
there is no default behavior to cancel. |
currentTarget | The 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 . |
info | An object describing the FLV
file, including any cue points. This property contains the same information
as the VideoDisplay.metadata property.
See the VideoDisplay.metadata property for more information. |
target | The 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. |
vp | The index of the VideoPlayer object. |
Tue Jun 12 2018, 01:40 PM Z