패키지fl.video
클래스public class LayoutEvent
상속LayoutEvent Inheritance Event Inheritance Object
하위 클래스 AutoLayoutEvent

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

비디오 플레이어의 크기를 조절할 때 및/또는 비디오 플레이어를 배치할 때 전달되는 이벤트입니다. 이 이벤트는 다음과 같은 두 가지 경우에 전달됩니다.

LayoutEvent 객체 유형은 LayoutEvent.LAYOUT 한 가지뿐입니다.

참고 사항

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
  oldBounds : Rectangle
이벤트가 발생하기 전의 대상에 대한 x, y, width 및 height 속성 값을 나타냅니다.
LayoutEvent
  oldRegistrationBounds : Rectangle
이벤트가 발생하기 전의 대상에 대한 registrationX, registrationY, registrationWidth 및 registrationHeight 속성 값을 나타냅니다.
LayoutEvent
 Inheritedprototype : Object
[static] 클래스 또는 함수 객체의 프로토타입 객체에 대한 참조입니다.
Object
 Inheritedtarget : Object
[read-only] 이벤트 대상입니다.
Event
 Inheritedtype : String
[read-only] 이벤트 유형입니다.
Event
Public 메서드
 메서드다음에 의해 정의됨
  
LayoutEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, oldBounds:Rectangle = null, oldRegistrationBounds:Rectangle = null)
layout 이벤트에 대한 정보가 포함된 Event 객체를 만듭니다.
LayoutEvent
 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
 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
  LAYOUT : 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
속성 정보
oldBounds속성
oldBounds:Rectangle  [read-write]

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

이벤트가 발생하기 전의 대상에 대한 x, y, widthheight 속성 값을 나타냅니다.


구현
    public function get oldBounds():Rectangle
    public function set oldBounds(value:Rectangle):void
oldRegistrationBounds속성 
oldRegistrationBounds:Rectangle  [read-write]

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

이벤트가 발생하기 전의 대상에 대한 registrationX, registrationY, registrationWidthregistrationHeight 속성 값을 나타냅니다.


구현
    public function get oldRegistrationBounds():Rectangle
    public function set oldRegistrationBounds(value:Rectangle):void
생성자 정보
LayoutEvent()생성자
public function LayoutEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, oldBounds:Rectangle = null, oldRegistrationBounds:Rectangle = null)

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

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

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

참고 사항

상수 정보
LAYOUT상수
public static const LAYOUT:String = "layout"

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

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

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

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

참고 사항





 

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

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