| Pakiet | mx.events |
| Klasa | public class MetadataEvent |
| Dziedziczenie | MetadataEvent Event Object |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Powiązane elementy interfejsu API
| Właściwość | Zdefiniowane przez | ||
|---|---|---|---|
![]() | bubbles : Boolean [tylko do odczytu]
Określa, czy zdarzenie może przechodzić fazę propagacji. | Event | |
![]() | cancelable : Boolean [tylko do odczytu]
Wskazuje, czy można uniemożliwić operacje skojarzone ze zdarzeniem. | Event | |
![]() | constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object | |
![]() | currentTarget : Object [tylko do odczytu]
Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń. | Event | |
![]() | eventPhase : uint [tylko do odczytu]
Bieżąca faza przepływu zdarzeń. | 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 [tylko do odczytu]
Miejsce docelowe zdarzenia. | Event | |
![]() | type : String [tylko do odczytu]
Typ zdarzenia. | Event | |
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
Constructor. | MetadataEvent | ||
![]() |
Powiela instancję podklasy Event. | Event | |
![]() |
Funkcja narzędziowa umożliwiająca implementację metody toString() w niestandardowych klasach Event w języku ActionScript 3.0. | Event | |
![]() |
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | |
![]() |
Sprawdza, czy w odniesieniu do tego zdarzenia wywołano metodę preventDefault(). | Event | |
![]() |
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | |
![]() |
Anuluje domyślne ustawienia zdarzenia, o ile zachowanie to może być anulowane. | Event | |
![]() |
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | |
![]() |
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | |
![]() |
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węźle bieżącym i węzłach następujących po nim. | Event | |
![]() |
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węzłach następujących po węźle bieżącym w przepływie zdarzeń. | Event | |
![]() |
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | |
![]() |
Zwraca ciąg znaków, który zawiera wszystkie właściwości obiektu Event. | Event | |
![]() |
Zwraca pierwotną wartość dla określonego obiektu. | Object | |
| Stała | Zdefiniowane przez | ||
|---|---|---|---|
| ACTION_SCRIPT : String = "actionscript" [statyczny]
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" [statyczny]
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" [statyczny]
The MetadataEvent.METADATA_RECEIVED constant defines the value of the
type property for a metadataReceived event. | MetadataEvent | ||
info | właściwość |
public var info:Object| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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.
Powiązane elementy interfejsu API
MetadataEvent | () | Konstruktor |
public function MetadataEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, info:Object = null)| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Constructor.
Parametrytype: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 | Stała |
public static const ACTION_SCRIPT:String = "actionscript"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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 | Stała |
public static const CUE_POINT:String = "cuePoint"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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 | Stała |
public static const METADATA_RECEIVED:String = "metadataReceived"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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, 12:06 PM Z
Ukryj dziedziczone właściwości publiczne
Pokaż dziedziczone właściwości publiczne