패키지fl.video
클래스public class AutoLayoutEvent
상속AutoLayoutEvent Inheritance LayoutEvent Inheritance Event Inheritance Object
구현 IVPEvent

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

Flash® Player에서는 자동으로 비디오 플레이어를 배치하고 크기를 조정할 때 AutoLayoutEvent 객체를 전달합니다. 비디오 플레이어는 maintainAspectRatio 속성 또는 autoSize 속성이 true로 설정되거나 새 FLV 파일이 로드된 경우에 자동으로 배치됩니다.

AutoLayoutEvent 객체 유형은 AutoLayoutEvent.AUTO_LAYOUT 한 가지뿐입니다.

비디오 플레이어 자동 배치가 시도된 후에는 크기가 변경되지 않은 경우에도 이 이벤트 객체가 전달됩니다.

다음 세 가지 경우에도 LayoutEvent 객체가 전달됩니다.

여러 비디오 플레이어 인스턴스를 사용하고 있는 경우에는 이 이벤트가 화면에 표시된 비디오 플레이어에 적용되지 않을 수도 있습니다.

참고 사항

AUTO_LAYOUT


Public 속성
 속성다음에 의해 정의됨
 Inheritedbubbles : Boolean
[read-only] 이벤트가 버블링 이벤트인지 여부를 나타냅니다.
Event
 Inheritedcancelable : Boolean
[read-only] 해당 이벤트와 연관된 비헤이비어를 차단할 수 있는지 여부를 나타냅니다.
Event
 Inheritedconstructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다.
Object
 InheritedcurrentTarget : Object
[read-only] 현재 이벤트 리스너를 통해 Event 객체를 처리하고 있는 객체입니다.
Event
 InheritedeventPhase : uint
[read-only] 이벤트 흐름에서 현재 단계입니다.
Event
 InheritedoldBounds : Rectangle
이벤트가 발생하기 전의 대상에 대한 x, y, width 및 height 속성 값을 나타냅니다.
LayoutEvent
 InheritedoldRegistrationBounds : Rectangle
이벤트가 발생하기 전의 대상에 대한 registrationX, registrationY, registrationWidth 및 registrationHeight 속성 값을 나타냅니다.
LayoutEvent
 Inheritedprototype : Object
[static] 클래스 또는 함수 객체의 프로토타입 객체에 대한 참조입니다.
Object
 Inheritedtarget : Object
[read-only] 이벤트 대상입니다.
Event
 Inheritedtype : String
[read-only] 이벤트 유형입니다.
Event
  vp : uint
이 이벤트와 관련된 VideoPlayer 객체의 인덱스입니다.
AutoLayoutEvent
Public 메서드
 메서드다음에 의해 정의됨
  
AutoLayoutEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, oldBounds:Rectangle = null, oldRegistrationBounds:Rectangle = null, vp:uint = 0)
autoLayout 이벤트에 대한 정보가 포함된 Event 객체를 만듭니다.
AutoLayoutEvent
 Inherited
Event 하위 클래스의 인스턴스를 복제합니다.
Event
 Inherited
formatToString(className:String, ... arguments):String
사용자 정의 Event 클래스에서 toString() 메서드를 구현하기 위한 유틸리티 함수입니다.
Event
 Inherited
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다.
Object
 Inherited
이벤트에서 preventDefault()가 호출되었는지 여부를 확인합니다.
Event
 Inherited
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다.
Object
 Inherited
이벤트의 기본 비헤이비어를 취소할 수 있는 경우, 그 비헤이비어를 취소합니다.
Event
 Inherited
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다.
Object
 Inherited
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다.
Object
 Inherited
이벤트 흐름에서 현재 노드 및 그 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다.
Event
 Inherited
이벤트 흐름에서 현재 노드의 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다.
Event
 Inherited
Event 객체의 속성이 모두 포함된 문자열을 반환합니다.
Event
 Inherited
지정된 객체의 프리미티브 값을 반환합니다.
Object
Public 상수
 상수다음에 의해 정의됨
 InheritedACTIVATE : String = "activate"
[static] activate 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedADDED : String = "added"
[static] added 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedADDED_TO_STAGE : String = "addedToStage"
[static] addedToStage 이벤트 객체의 type 속성 값을 정의합니다.
Event
  AUTO_LAYOUT : String = "autoLayout"
[static] autoLayout 이벤트 객체의 type 속성 값을 정의합니다.
AutoLayoutEvent
 InheritedCANCEL : String = "cancel"
[static] cancel 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedCHANGE : String = "change"
[static] change 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedCLOSE : String = "close"
[static] close 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedCOMPLETE : String = "complete"
[static] complete 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedCONNECT : String = "connect"
[static] connect 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedDEACTIVATE : String = "deactivate"
[static] deactivate 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedENTER_FRAME : String = "enterFrame"
[static] enterFrame 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedFULLSCREEN : String = "fullScreen"
[static] fullScreen 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedID3 : String = "id3"
[static] id3 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedINIT : String = "init"
[static] init 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedLAYOUT : String = "layout"
[static] layout 이벤트 객체의 type 속성 값을 정의합니다.
LayoutEvent
 InheritedMOUSE_LEAVE : String = "mouseLeave"
[static] mouseLeave 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedOPEN : String = "open"
[static] open 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedREMOVED : String = "removed"
[static] removed 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedREMOVED_FROM_STAGE : String = "removedFromStage"
[static] removedFromStage 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedRENDER : String = "render"
[static] render 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedRESIZE : String = "resize"
[static] resize 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedSCROLL : String = "scroll"
[static] scroll 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedSELECT : String = "select"
[static] select 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedSOUND_COMPLETE : String = "soundComplete"
[static] soundComplete 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedTAB_CHILDREN_CHANGE : String = "tabChildrenChange"
[static] tabChildrenChange 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedTAB_ENABLED_CHANGE : String = "tabEnabledChange"
[static] tabEnabledChange 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedTAB_INDEX_CHANGE : String = "tabIndexChange"
[static] tabIndexChange 이벤트 객체의 type 속성 값을 정의합니다.
Event
 InheritedUNLOAD : String = "unload"
[static] unload 이벤트 객체의 type 속성 값을 정의합니다.
Event
속성 정보
vp속성
vp:uint  [read-write]

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

이 이벤트와 관련된 VideoPlayer 객체의 인덱스입니다.


구현
    public function get vp():uint
    public function set vp(value:uint):void

참고 사항

생성자 정보
AutoLayoutEvent()생성자
public function AutoLayoutEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, oldBounds:Rectangle = null, oldRegistrationBounds:Rectangle = null, vp:uint = 0)

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

autoLayout 이벤트에 대한 정보가 포함된 Event 객체를 만듭니다. Event 객체는 매개 변수로 이벤트 리스너에 전달됩니다.

매개 변수
type:String — 이벤트 유형입니다. 이벤트 리스너는 상속된 type 속성을 통해 이 정보에 액세스할 수 있습니다. 자동 레이아웃 이벤트의 유형은 AutoLayoutEvent.AUTO_LAYOUT 한 가지뿐입니다.
 
bubbles:Boolean (default = false) — Event 객체가 이벤트 흐름의 버블링 단계에 참여하는지 여부를 결정합니다. 이벤트 리스너는 상속된 bubbles 속성을 통해 이 정보에 액세스할 수 있습니다.
 
cancelable:Boolean (default = false) — Event 객체를 취소할 수 있는지 여부를 결정합니다. 이벤트 리스너는 상속된 cancelable 속성을 통해 이 정보에 액세스할 수 있습니다.
 
oldBounds:Rectangle (default = null)autoLayout 이벤트가 발생하기 전의 대상에 대한 x, y, widthheight 속성 값을 나타냅니다. 이벤트 리스너는 LayoutEvent.oldBounds 속성을 통해 이 정보에 액세스할 수 있습니다.
 
oldRegistrationBounds:Rectangle (default = null)autoLayout 이벤트가 발생하기 전의 대상에 대한 registrationX, registrationY, registrationWidthregistrationHeight 속성 값을 나타냅니다. 이벤트 리스너는 LayoutEvent.oldRegistrationBounds 속성을 통해 이 정보에 액세스할 수 있습니다.
 
vp:uint (default = 0) — 이 이벤트와 관련된 VideoPlayer 객체의 인덱스입니다.

참고 사항

상수 정보
AUTO_LAYOUT상수
public static const AUTO_LAYOUT:String = "autoLayout"

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

autoLayout 이벤트 객체의 type 속성 값을 정의합니다.

이 이벤트에는 다음과 같은 속성이 있습니다.

속성
bubblesfalse
cancelablefalse; 취소할 기본 비헤이비어가 없습니다.
oldBoundsautoLayout 이벤트가 발생하기 전의 대상에 대한 x, y, widthheight 속성 값입니다.
oldRegistrationBoundsautoLayout 이벤트가 발생하기 전의 대상에 대한 registrationX, registrationY, registrationWidthregistrationHeight 속성 값입니다.
vpVideoPlayer 객체의 인덱스입니다.

참고 사항





 

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

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