| 패키지 | org.osmf.traits | 
| 클래스 | public class SeekTrait | 
| 상속 | SeekTrait    MediaTraitBase   EventDispatcher   Object | 
| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | OSMF 1.0 | 
| 런타임 버전: | Flash Player 10, AIR 1.5 | 
Use the MediaElement.hasTrait(MediaTraitType.SEEK) method to query
	 whether a media element has a trait of this type.
	 If hasTrait(MediaTraitType.SEEK) returns true,
	 use the MediaElement.getTrait(MediaTraitType.SEEK) method
	 to get an object that is guaranteed to be of this type.
관련 API 요소
| 속성 | 정의 주체 | ||
|---|---|---|---|
![]()  | constructor : Object 
	 지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다.  | Object | |
| seeking : Boolean [읽기 전용] 
		 Indicates whether the media is currently seeking.  | SeekTrait | ||
![]()  | traitType : String [읽기 전용] 
		 The MediaTraitType for this trait.  | MediaTraitBase | |
| 속성 | 정의 주체 | ||
|---|---|---|---|
| timeTrait : org.osmf.traits:TimeTrait 
		 The TimeTrait used by this SeekTrait.  | SeekTrait | ||
| 메서드 | 정의 주체 | ||
|---|---|---|---|
SeekTrait(timeTrait:org.osmf.traits:TimeTrait) 
		 Constructor.  | SeekTrait | ||
![]()  | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void 
	리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다.  | EventDispatcher | |
		 Indicates whether the media is capable of seeking to the
		 specified time.  | SeekTrait | ||
![]()  | 
	이벤트를 이벤트 흐름으로 전달합니다.  | EventDispatcher | |
![]()  | 
		 Disposes of any resources used by this trait.  | MediaTraitBase | |
![]()  | 
	EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다.  | EventDispatcher | |
![]()  | 
	 지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다.  | Object | |
![]()  | 
	 Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다.  | Object | |
![]()  | 
	 지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다.  | Object | |
![]()  | 
	EventDispatcher 객체에서 리스너를 제거합니다.  | EventDispatcher | |
		 Instructs the media to jump to the specified time.  | SeekTrait | ||
![]()  | 
     루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다.  | Object | |
![]()  | 
	 로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다.  | Object | |
![]()  | 
	 지정된 객체의 문자열 표현을 반환합니다.  | Object | |
![]()  | 
	 지정된 객체의 프리미티브 값을 반환합니다.  | Object | |
![]()  | 
	이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다.  | EventDispatcher | |
| 메서드 | 정의 주체 | ||
|---|---|---|---|
		 Called just after the seeking property has changed.  | SeekTrait | ||
         Called immediately before the seeking property is changed.  | SeekTrait | ||
		 Must be called by the implementing media on completing a seek.  | SeekTrait | ||
| 이벤트 | 요약 | 정의 주체 | ||
|---|---|---|---|---|
![]()  | [브로드캐스트 이벤트] Flash Player 또는 AIR 응용 프로그램이 운영 체제 포커스를 얻어 활성화될 때 전달됩니다. | EventDispatcher | ||
![]()  | [브로드캐스트 이벤트] Flash Player 또는 AIR 응용 프로그램이 운영 체제 포커스를 잃고 비활성화될 때 전달됩니다. | EventDispatcher | ||
| Dispatched when this trait begins or ends a seek operation. | SeekTrait | |||
seeking | 속성 | 
timeTrait | 속성 | 
timeTrait:org.osmf.traits:TimeTrait| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | OSMF 1.0 | 
| 런타임 버전: | Flash Player 10, AIR 1.5 | 
The TimeTrait used by this SeekTrait.
구현
    protected function get timeTrait():org.osmf.traits:TimeTrait    protected function set timeTrait(value:org.osmf.traits:TimeTrait):voidSeekTrait | () | 생성자 | 
public function SeekTrait(timeTrait:org.osmf.traits:TimeTrait)Constructor.
매개 변수timeTrait:org.osmf.traits:TimeTrait | 
canSeekTo | () | 메서드 | 
 public function canSeekTo(time:Number):Boolean| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | OSMF 1.0 | 
| 런타임 버전: | Flash Player 10, AIR 1.5 | 
Indicates whether the media is capable of seeking to the specified time.
매개 변수
time:Number — Time to seek to in seconds.
		  | 
Boolean — Returns true if the media can seek to the specified time.
		  
		   | 
seek | () | 메서드 | 
 public final function seek(time:Number):void| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | OSMF 1.0 | 
| 런타임 버전: | Flash Player 10, AIR 1.5 | 
		 Instructs the media to jump to the specified time.
		 
		 If a seek is attempted, dispatches a seekingChange event.
		 If time is non numerical or negative, does not attempt to seek. 
		 
		 
매개 변수
time:Number — Time to seek to in seconds.
		  
		   | 
seekingChangeEnd | () | 메서드 | 
 protected function seekingChangeEnd(time:Number):void| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | OSMF 1.0 | 
| 런타임 버전: | Flash Player 10, AIR 1.5 | 
		 Called just after the seeking property has changed.
		 Dispatches the change event.
		 
		 
Subclasses that override should call this method to dispatch the change event.
매개 변수
time:Number — New time value representing the time that the playhead seeked to.
		  
		   | 
seekingChangeStart | () | 메서드 | 
 protected function seekingChangeStart(newSeeking:Boolean, time:Number):void| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | OSMF 1.0 | 
| 런타임 버전: | Flash Player 10, AIR 1.5 | 
         Called immediately before the seeking property is changed.
		 
Subclasses can override this method to communicate the change to the media.
매개 변수
newSeeking:Boolean — New time value representing the time that the playhead seeks to.
		  
		   | |
time:Number | 
setSeeking | () | 메서드 | 
 protected final function setSeeking(value:Boolean, time:Number):void| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | OSMF 1.0 | 
| 런타임 버전: | Flash Player 10, AIR 1.5 | 
		 Must be called by the implementing media on completing a seek.
		 Calls the seekingChangeStart() and seekingChangeEnd()
		 methods.
		 
		 
매개 변수
value:Boolean — New seeking value.
		  | |
time:Number — Position in seconds that the playhead was ultimately
		 moved to.
		  
		   | 
seekingChange | 이벤트 | 
org.osmf.events.SeekEvent속성 SeekEvent.type =
org.osmf.events.SeekEvent.SEEKING_CHANGE| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | OSMF 1.0 | 
| 런타임 버전: | Flash Player 10, AIR 1.5 | 
Dispatched when this trait begins or ends a seek operation.
The SeekEvent.SEEKING_CHANGE constant defines the value of the type property of the event object for a seekingChange event.Tue Jun 12 2018, 03:17 PM Z
 
 상속되는 공용 속성 숨기기
 상속되는 공용 속성 표시