| 패키지 | fl.video |
| 클래스 | public final class VideoScaleMode |
| 상속 | VideoScaleMode Object |
| 언어 버전 : | ActionScript 3.0 |
| Player 버전 : | Flash Player 9.0.28.0 |
FLVPlayback.scaleMode 및 VideoPlayer.scaleMode 속성에 사용할 상수 값을 제공합니다.
참고 사항
| 상수 | 다음에 의해 정의됨 | ||
|---|---|---|---|
| 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 또는 height 및 registrationWidth 또는 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 = 200 및 y = 200의 결과를 얻게 됩니다.
| MAINTAIN_ASPECT_RATIO | 상수 |
public static const MAINTAIN_ASPECT_RATIO:String = "maintainAspectRatio"
| 언어 버전 : | ActionScript 3.0 |
| Player 버전 : | Flash Player 9.0.28.0 |
registrationX, registrationY, registrationWidth 및 registrationHeight 속성에 따라 결정된 사각형 안에 비디오가 제한되지만 원래 종횡비는 유지되도록 지정합니다.
예를 들어 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 = 10 및 y = (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)) = -74 및 y = (200 + ((100 - 480) / 2)) = 10의 결과를 얻게 됩니다.
이 페이지에 의견 추가되면 전자 메일 알림 받기 | 의견 보고서
현재 페이지: http://livedocs.adobe.com/flash/9.0_kr/ActionScriptLangRefV3/fl/video/VideoScaleMode.html