패키지 | mx.controls.videoClasses |
클래스 | public class CuePointManager |
상속 | CuePointManager Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
관련 API 요소
메서드 | 정의 주체 | ||
---|---|---|---|
CuePointManager(owner:VideoPlayer, id:uint = 0)
Constructor. | CuePointManager | ||
Adds a cue point. | CuePointManager | ||
Search for a cue point with specified name. | CuePointManager | ||
Returns an Array of all cue points. | CuePointManager | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
Removes all cue points. | CuePointManager | ||
Removes a cue point from the currently
loaded FLV file. | CuePointManager | ||
Set the array of cue points. | CuePointManager | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
CuePointManager | () | 생성자 |
public function CuePointManager(owner:VideoPlayer, id:uint = 0)
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Constructor.
매개 변수owner:VideoPlayer — The VideoPlayer instance that is the parent of this CuePointManager.
| |
id:uint (default = 0 ) — This parameter is ignored; it is provided only for backwards compatibility.
|
addCuePoint | () | 메서드 |
public function addCuePoint(cuePoint:Object):Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Adds a cue point.
You can add multiple cue points with the same
name and time. When you call the removeCuePoint()
method
with the name and time, it removes the first matching cue point.
To remove all matching cue points, you have to make additional calls to
the removeCuePoint()
method.
매개 변수
cuePoint:Object — The Object describes the cue
point. It must contain the properties name:String
and time:Number (in seconds).
If the Object does not conform to these
conventions, it throws a VideoError error.
|
Object — A copy of the cue point Object added. The copy has the
following additional properties:
|
오류
VideoError — If the arguments are invalid.
|
getCuePointByName | () | 메서드 |
public function getCuePointByName(name:String):Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Search for a cue point with specified name.
매개 변수
name:String — The name of the cue point.
|
Object — null if no match was found, or
a copy of the matching cue point Object with additional properties:
|
getCuePoints | () | 메서드 |
removeAllCuePoints | () | 메서드 |
public function removeAllCuePoints():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Removes all cue points.
removeCuePoint | () | 메서드 |
public function removeCuePoint(cuePoint:Object):Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Removes a cue point from the currently
loaded FLV file. Only the name
and time
properties are used from the cuePoint
argument to
determine the cue point to be removed.
If multiple cue points match the search criteria, only
one will be removed. To remove all cue points, call this function
repeatedly in a loop with the same arguments until it returns
null
.
매개 변수
cuePoint:Object — The Object must contain at least one of
name:String and time:Number properties, and
removes the cue point that matches the specified properties.
|
Object — An object representing the cue point removed. If there was no
matching cue point, then it returns null .
|
setCuePoints | () | 메서드 |
public function setCuePoints(cuePointArray:Array):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Set the array of cue points.
You can add multiple cue points with the same
name and time. When you call the removeCuePoint()
method
with this name, only the first one is removed.
매개 변수
cuePointArray:Array — An Array of cue point objects.
Each cue point object describes the cue
point. It must contain the properties name:String
and time:Number (in seconds).
|
Tue Jun 12 2018, 03:17 PM Z