패키지 | mx.events |
클래스 | public class VideoEvent |
상속 | VideoEvent Event Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
VideoDisplay.state
property.
관련 API 요소
속성 | 정의 주체 | ||
---|---|---|---|
bubbles : Boolean [읽기 전용]
이벤트가 버블링 이벤트인지 여부를 나타냅니다. | Event | ||
cancelable : Boolean [읽기 전용]
해당 이벤트와 연관된 비헤이비어를 차단할 수 있는지 여부를 나타냅니다. | Event | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
currentTarget : Object [읽기 전용]
이벤트 리스너를 통해 Event 객체를 처리하고 있는 객체입니다. | Event | ||
eventPhase : uint [읽기 전용]
이벤트 흐름에서 현재 단계입니다. | 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 [읽기 전용]
The value of the VideoDisplay.stateResponsive property
when the event occurs. | VideoEvent | ||
target : Object [읽기 전용]
이벤트 대상입니다. | Event | ||
type : String [읽기 전용]
이벤트 유형입니다. | Event |
메서드 | 정의 주체 | ||
---|---|---|---|
VideoEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, state:String = null, playheadTime:Number = NaN)
Constructor. | VideoEvent | ||
Event 하위 클래스의 인스턴스를 복제합니다. | Event | ||
사용자 정의 ActionScript 3.0 Event 클래스에서 toString() 메서드를 구현하기 위한 유틸리티 함수입니다. | Event | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
이벤트에서 preventDefault() 메서드가 호출되었는지 여부를 확인합니다. | Event | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
이벤트의 기본 비헤이비어를 취소할 수 있는 경우, 그 비헤이비어를 취소합니다. | Event | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
이벤트 흐름에서 현재 노드 및 그 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
이벤트 흐름에서 현재 노드의 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
Event 객체의 속성이 모두 포함된 문자열을 반환합니다. | Event | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
상수 | 정의 주체 | ||
---|---|---|---|
BUFFERING : String = "buffering" [정적]
The value of the VideoDisplay.state property
immediately after a call to the
play() or load() method. | VideoEvent | ||
CLOSE : String = "close" [정적]
The VideoEvent.CLOSE constant defines the value of the
type property of the event object for a close event. | VideoEvent | ||
COMPLETE : String = "complete" [정적]
The VideoEvent.COMPLETE constant defines the value of the
type property of the event object for a complete event. | VideoEvent | ||
CONNECTION_ERROR : String = "connectionError" [정적]
The value of the VideoDisplay.state property
when the VideoDisplay control was unable to load the video stream. | VideoEvent | ||
DISCONNECTED : String = "disconnected" [정적]
The value of the VideoDisplay.state property
when the video stream has timed out or is idle. | VideoEvent | ||
EXEC_QUEUED_CMD : String = "execQueuedCmd" [정적]
The value of the VideoDisplay.state property
during execution of queued command. | VideoEvent | ||
LOADING : String = "loading" [정적]
The value of the VideoDisplay.state property
immediately after a call to the
play() or load() method. | VideoEvent | ||
PAUSED : String = "paused" [정적]
The value of the VideoDisplay.state property
when an FLV file is loaded, but play is paused. | VideoEvent | ||
PLAYHEAD_UPDATE : String = "playheadUpdate" [정적]
The VideoEvent.PLAYHEAD_UPDATE constant defines the value of the
type property of the event object for a playheadUpdate event. | VideoEvent | ||
PLAYING : String = "playing" [정적]
The value of the VideoDisplay.state property
when an FLV file is loaded and is playing. | VideoEvent | ||
READY : String = "ready" [정적]
The VideoEvent.READY constant defines the value of the
type property of the event object for a ready event. | VideoEvent | ||
RESIZING : String = "resizing" [정적]
The value of the VideoDisplay.state property
when the VideoDisplay control is resizing. | VideoEvent | ||
REWIND : String = "rewind" [정적]
The VideoEvent.REWIND constant defines the value of the
type property of the event object for a rewind event. | VideoEvent | ||
REWINDING : String = "rewinding" [정적]
The value of the VideoDisplay.state property
during an autorewind triggered
when play stops. | VideoEvent | ||
SEEKING : String = "seeking" [정적]
The value of the VideoDisplay.state property
for a seek occurring
due to the VideoDisplay.playHeadTime property being set. | VideoEvent | ||
STATE_CHANGE : String = "stateChange" [정적]
The VideoEvent.STATE_CHANGE constant defines the value of the
type property of the event object for a stateChange event. | VideoEvent | ||
STOPPED : String = "stopped" [정적]
The value of the VideoDisplay.state property
when an FLV file is loaded but play has stopped. | VideoEvent |
playheadTime | 속성 |
public var playheadTime:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The location of the playhead of the VideoDisplay control when the event occurs.
state | 속성 |
public var state:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when the event occurs.
관련 API 요소
stateResponsive | 속성 |
VideoEvent | () | 생성자 |
public function VideoEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, state:String = null, playheadTime:Number = NaN)
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Constructor.
매개 변수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.
| |
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 | 상수 |
public static const BUFFERING:String = "buffering"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const CLOSE:String = "close"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const COMPLETE:String = "complete"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const CONNECTION_ERROR:String = "connectionError"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const DISCONNECTED:String = "disconnected"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const EXEC_QUEUED_CMD:String = "execQueuedCmd"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const LOADING:String = "loading"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const PAUSED:String = "paused"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const PLAYHEAD_UPDATE:String = "playheadUpdate"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const PLAYING:String = "playing"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const READY:String = "ready"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const RESIZING:String = "resizing"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const REWIND:String = "rewind"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const REWINDING:String = "rewinding"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const SEEKING:String = "seeking"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const STATE_CHANGE:String = "stateChange"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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 | 상수 |
public static const STOPPED:String = "stopped"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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, 03:17 PM Z