Paket | mx.events |
Sınıf | public class VideoEvent |
Miras Alma | VideoEvent Event Object |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
VideoDisplay.state
property.
İlgili API Öğeleri
Özellik | Tanımlayan: | ||
---|---|---|---|
bubbles : Boolean [salt okunur]
Bir olayın köpüren bir olay olup olmadığını belirtir. | Event | ||
cancelable : Boolean [salt okunur]
Olayla ilişkilendirilmiş davranışın önlenebilir olup olmadığını gösterir. | Event | ||
constructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru. | Object | ||
currentTarget : Object [salt okunur]
Bu Event nesnesini olay dinleyicisiyle etkin olarak işleyen nesne. | Event | ||
eventPhase : uint [salt okunur]
Olay akışındaki geçerli aşama. | Event | ||
playheadTime : Number
The location of the playhead of the VideoDisplay control
when the event occurs. | VideoEvent | ||
state : String
The value of the VideoDisplay.state property
when the event occurs. | VideoEvent | ||
stateResponsive : Boolean [salt okunur]
The value of the VideoDisplay.stateResponsive property
when the event occurs. | VideoEvent | ||
target : Object [salt okunur]
Olay hedefi. | Event | ||
type : String [salt okunur]
Olay türü. | Event |
Yöntem | Tanımlayan: | ||
---|---|---|---|
VideoEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, state:String = null, playheadTime:Number = NaN)
Constructor. | VideoEvent | ||
Event alt sınıfının bir örneğini çoğaltır. | Event | ||
Özel ActionScript 3.0 Event sınıfınızdaki toString() yöntemini uygulamak için bir yardımcı işlev. | Event | ||
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir. | Object | ||
Olayda preventDefault() öğesinin çağrılmış olup olmadığını kontrol eder. | Event | ||
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir. | Object | ||
Bir olayın varsayılan davranışını, bu yapılabiliyorsa iptal eder. | Event | ||
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir. | Object | ||
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar. | Object | ||
Olay akışında geçerli düğümdeki ve ondan sonra gelen düğümlerdeki olay dinleyicilerin işlenmesini engeller. | Event | ||
Olay akışında geçerli düğümden sonra gelen düğümlerdeki olay dinleyicilerin işlenmesini engeller. | Event | ||
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür. | Object | ||
Event nesnesinin tüm özelliklerini içeren bir dize döndürülür. | Event | ||
Belirtilen nesnenin temel değerini döndürür. | Object |
Sabit | Tanımlayan: | ||
---|---|---|---|
BUFFERING : String = "buffering" [statik]
The value of the VideoDisplay.state property
immediately after a call to the
play() or load() method. | VideoEvent | ||
CLOSE : String = "close" [statik]
The VideoEvent.CLOSE constant defines the value of the
type property of the event object for a close event. | VideoEvent | ||
COMPLETE : String = "complete" [statik]
The VideoEvent.COMPLETE constant defines the value of the
type property of the event object for a complete event. | VideoEvent | ||
CONNECTION_ERROR : String = "connectionError" [statik]
The value of the VideoDisplay.state property
when the VideoDisplay control was unable to load the video stream. | VideoEvent | ||
DISCONNECTED : String = "disconnected" [statik]
The value of the VideoDisplay.state property
when the video stream has timed out or is idle. | VideoEvent | ||
EXEC_QUEUED_CMD : String = "execQueuedCmd" [statik]
The value of the VideoDisplay.state property
during execution of queued command. | VideoEvent | ||
LOADING : String = "loading" [statik]
The value of the VideoDisplay.state property
immediately after a call to the
play() or load() method. | VideoEvent | ||
PAUSED : String = "paused" [statik]
The value of the VideoDisplay.state property
when an FLV file is loaded, but play is paused. | VideoEvent | ||
PLAYHEAD_UPDATE : String = "playheadUpdate" [statik]
The VideoEvent.PLAYHEAD_UPDATE constant defines the value of the
type property of the event object for a playheadUpdate event. | VideoEvent | ||
PLAYING : String = "playing" [statik]
The value of the VideoDisplay.state property
when an FLV file is loaded and is playing. | VideoEvent | ||
READY : String = "ready" [statik]
The VideoEvent.READY constant defines the value of the
type property of the event object for a ready event. | VideoEvent | ||
RESIZING : String = "resizing" [statik]
The value of the VideoDisplay.state property
when the VideoDisplay control is resizing. | VideoEvent | ||
REWIND : String = "rewind" [statik]
The VideoEvent.REWIND constant defines the value of the
type property of the event object for a rewind event. | VideoEvent | ||
REWINDING : String = "rewinding" [statik]
The value of the VideoDisplay.state property
during an autorewind triggered
when play stops. | VideoEvent | ||
SEEKING : String = "seeking" [statik]
The value of the VideoDisplay.state property
for a seek occurring
due to the VideoDisplay.playHeadTime property being set. | VideoEvent | ||
STATE_CHANGE : String = "stateChange" [statik]
The VideoEvent.STATE_CHANGE constant defines the value of the
type property of the event object for a stateChange event. | VideoEvent | ||
STOPPED : String = "stopped" [statik]
The value of the VideoDisplay.state property
when an FLV file is loaded but play has stopped. | VideoEvent |
playheadTime | özellik |
public var playheadTime:Number
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The location of the playhead of the VideoDisplay control when the event occurs.
state | özellik |
public var state:String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when the event occurs.
İlgili API Öğeleri
stateResponsive | özellik |
VideoEvent | () | Yapıcı |
public function VideoEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, state:String = null, playheadTime:Number = NaN)
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Constructor.
Parametrelertype: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.
| |
state:String (default = null ) — The value of the VideoDisplay.state property
when the event occurs.
| |
playheadTime:Number (default = NaN ) — The location of the playhead when the event occurs.
|
BUFFERING | Sabit |
public static const BUFFERING:String = "buffering"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
immediately after a call to the
play()
or load()
method.
This is a responsive state. In the responsive state, calls to
the play()
, load()
, stop()
,
and pause()
methods are executed immediately.
CLOSE | Sabit |
public static const CLOSE:String = "close"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The VideoEvent.CLOSE
constant defines the value of the
type
property of the event object for a close
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 . |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
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. |
COMPLETE | Sabit |
public static const COMPLETE:String = "complete"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The VideoEvent.COMPLETE
constant defines the value of the
type
property of the event object for a complete
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 . |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
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. |
CONNECTION_ERROR | Sabit |
public static const CONNECTION_ERROR:String = "connectionError"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when the VideoDisplay control was unable to load the video stream.
This state can occur when there is no connection to a server,
the video stream is not found, or for other reasons.
This is a unresponsive state. If the control is unresponsive, calls to the
play()
, load()
, stop()
,
and pause()
methods are queued,
and then executed when the control changes to the responsive state.
DISCONNECTED | Sabit |
public static const DISCONNECTED:String = "disconnected"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when the video stream has timed out or is idle.
This is a responsive state. In the responsive state, calls to
the play()
, load()
, stop()
,
and pause()
methods are executed immediately.
EXEC_QUEUED_CMD | Sabit |
public static const EXEC_QUEUED_CMD:String = "execQueuedCmd"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
during execution of queued command.
There will never be a stateChange
event dispatched for
this state; it is for internal use only.
This is a unresponsive state. If the control is unresponsive, calls to the
play()
, load()
, stop()
,
and pause()
methods are queued,
and then executed when the control changes to the responsive state.
LOADING | Sabit |
public static const LOADING:String = "loading"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
immediately after a call to the
play()
or load()
method.
This is a unresponsive state. If the control is unresponsive, calls to the
play()
, load()
, stop()
,
and pause()
methods are queued,
and then executed when the control changes to the responsive state.
PAUSED | Sabit |
public static const PAUSED:String = "paused"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when an FLV file is loaded, but play is paused.
This state is entered when you call the pause()
or load()
method.
This is a responsive state. In the responsive state, calls to
the play()
, load()
, stop()
,
and pause()
methods are executed immediately.
PLAYHEAD_UPDATE | Sabit |
public static const PLAYHEAD_UPDATE:String = "playheadUpdate"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The VideoEvent.PLAYHEAD_UPDATE
constant defines the value of the
type
property of the event object for a playheadUpdate
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 . |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
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. |
PLAYING | Sabit |
public static const PLAYING:String = "playing"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when an FLV file is loaded and is playing.
This state is entered when you call the play()
method.
This is a responsive state. In the responsive state, calls to
the play()
, load()
, stop()
,
and pause()
methods are executed immediately.
READY | Sabit |
public static const READY:String = "ready"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The VideoEvent.READY
constant defines the value of the
type
property of the event object for a ready
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 . |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
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. |
RESIZING | Sabit |
public static const RESIZING:String = "resizing"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when the VideoDisplay control is resizing.
This is a unresponsive state. If the control is unresponsive, calls to the
play()
, load()
, stop()
,
and pause()
methods are queued,
and then executed when the control changes to the responsive state.
REWIND | Sabit |
public static const REWIND:String = "rewind"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The VideoEvent.REWIND
constant defines the value of the
type
property of the event object for a rewind
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 . |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
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. |
REWINDING | Sabit |
public static const REWINDING:String = "rewinding"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
during an autorewind triggered
when play stops. After the rewind completes, the state changes to
STOPPED
.
This is a unresponsive state. If the control is unresponsive, calls to the
play()
, load()
, stop()
,
and pause()
methods are queued,
and then executed when the control changes to the responsive state.
SEEKING | Sabit |
public static const SEEKING:String = "seeking"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
for a seek occurring
due to the VideoDisplay.playHeadTime
property being set.
This is a unresponsive state. If the control is unresponsive, calls to the
play()
, load()
, stop()
,
and pause()
methods are queued,
and then executed when the control changes to the responsive state.
STATE_CHANGE | Sabit |
public static const STATE_CHANGE:String = "stateChange"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The VideoEvent.STATE_CHANGE
constant defines the value of the
type
property of the event object for a stateChange
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 . |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
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. |
STOPPED | Sabit |
public static const STOPPED:String = "stopped"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Flex 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when an FLV file is loaded but play has stopped.
This state is entered when you call the stop()
method
or when the playhead reaches the end of the video stream.
This is a responsive state. In the responsive state, calls to
the play()
, load()
, stop()
,
and pause()
methods are executed immediately.
Tue Jun 12 2018, 01:09 PM Z