패키지fl.video
클래스public final class VideoScaleMode
상속VideoScaleMode Inheritance Object

언어 버전 : ActionScript 3.0
Player 버전 : Flash Player 9.0.28.0

VideoScaleMode 클래스는 FLVPlayback.scaleModeVideoPlayer.scaleMode 속성에 사용할 상수 값을 제공합니다.

참고 사항

FLVPlayback.scaleMode
VideoPlayer.scaleMode


Public 속성
 속성다음에 의해 정의됨
 Inheritedconstructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다.
Object
 Inheritedprototype : Object
[static] 클래스 또는 함수 객체의 프로토타입 객체에 대한 참조입니다.
Object
Public 메서드
 메서드다음에 의해 정의됨
 Inherited
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다.
Object
 Inherited
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다.
Object
 Inherited
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다.
Object
 Inherited
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다.
Object
 Inherited
지정된 객체의 문자열 표현을 반환합니다.
Object
 Inherited
지정된 객체의 프리미티브 값을 반환합니다.
Object
Public 상수
 상수다음에 의해 정의됨
  EXACT_FIT : String = "exactFit"
[static] registrationHeight 또는 height 및 registrationWidth 또는 width 속성에서 지정된 높이와 폭으로 비디오를 표시하도록 지정합니다.
VideoScaleMode
  MAINTAIN_ASPECT_RATIO : String = "maintainAspectRatio"
[static] registrationX, registrationY, registrationWidth 및 registrationHeight 속성에 따라 결정된 사각형 안에 비디오가 제한되지만 원래 종횡비는 유지되도록 지정합니다.
VideoScaleMode
  NO_SCALE : String = "noScale"
[static] 비디오를 표시할 때 소스 비디오의 높이와 폭이 정확히 표시되도록 지정합니다.
VideoScaleMode
상수 정보
EXACT_FIT상수
public static const EXACT_FIT:String = "exactFit"

언어 버전 : ActionScript 3.0
Player 버전 : Flash Player 9.0.28.0

registrationHeight 또는 heightregistrationWidth 또는 width 속성에서 지정된 높이와 폭으로 비디오를 표시하도록 지정합니다.

예를 들어 registrationWidth = width = 100, registrationHeight = height = 100이고 registrationX = 200, registrationY = 200이며 FLV 파일이 width 648, height 480(약 4:3의 종횡비)으로 로드된 경우 align = VideoAlign.CENTER이고 scaleMode = EXACT_FIT이면 width = 100, height = 100, x = 200y = 200의 결과를 얻게 됩니다.

MAINTAIN_ASPECT_RATIO상수 
public static const MAINTAIN_ASPECT_RATIO:String = "maintainAspectRatio"

언어 버전 : ActionScript 3.0
Player 버전 : Flash Player 9.0.28.0

registrationX, registrationY, registrationWidthregistrationHeight 속성에 따라 결정된 사각형 안에 비디오가 제한되지만 원래 종횡비는 유지되도록 지정합니다.

예를 들어 registrationWidth = 100, registrationHeight = 100이고 registrationX = 200, registrationY = 200이며 FLV 파일이 width 648, height 480(약 4:3의 종횡비)으로 로드된 경우 align = VideoAlign.CENTER이고 scaleMode = MAINTAIN_ASPECT_RATIO이면 width = 100, height = (100 * 480 / 648) = 74, x = 10y = (10 + ((100 - 74) / 2)) = 23의 결과를 얻게 됩니다.

NO_SCALE상수 
public static const NO_SCALE:String = "noScale"

언어 버전 : ActionScript 3.0
Player 버전 : Flash Player 9.0.28.0

비디오를 표시할 때 소스 비디오의 높이와 폭이 정확히 표시되도록 지정합니다.

예를 들어 registrationWidth = 100, registrationHeight = 100이고 registrationX = 200, registrationY = 200이며 FLV 파일이 width 648, height 480(약 4:3의 종횡비)으로 로드된 경우 align = VideoAlign.CENTER이고 scaleMode = NO_SCALE이면 width = 648, height = 480, x = (200 + ((100 - 648) / 2)) = -74y = (200 + ((100 - 480) / 2)) = 10의 결과를 얻게 됩니다.





 

이 페이지에 의견 추가되면 전자 메일 알림 받기 | 의견 보고서

현재 페이지: http://livedocs.adobe.com/flash/9.0_kr/ActionScriptLangRefV3/fl/video/VideoScaleMode.html