パッケージ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 の 1 つのみです。

ビデオプレーヤーの自動レイアウトを試みた後は、サイズが変更されていなくてもイベントオブジェクトが送出されます。

LayoutEvent オブジェクトは次の 3 つの場合にも送出されます。

複数のビデオプレーヤーインスタンスが使用されている場合、このイベントは表示されているビデオプレーヤーに適用されないことがあります。

関連項目

AUTO_LAYOUT


パブリック プロパティ
 プロパティ定義元
 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
パブリック メソッド
 メソッド定義元
  
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
パブリック 定数
 定数定義元
 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 の 1 つのみです。
 
bubbles:Boolean (default = false) — Event オブジェクトがイベントフローのバブリング段階で処理されるかどうかを判断します。イベントリスナーは、継承された bubbles プロパティを通じてこの情報にアクセスできます。
 
cancelable:Boolean (default = false) — Event オブジェクトがキャンセル可能かどうかを判断します。イベントリスナーは、継承された cancelable プロパティを通じてこの情報にアクセスできます。
 
oldBounds:Rectangle (default = null) — ターゲットの xywidth、および height プロパティの値 (autoLayout イベントが発生する前のもの) を示します。イベントリスナーは、LayoutEvent.oldBounds プロパティを通じてこの情報にアクセスできます。
 
oldRegistrationBounds:Rectangle (default = null) — ターゲットの registrationXregistrationYregistrationWidth、および registrationHeight プロパティの値 (autoLayout イベントが発生する前のもの) を示します。イベントリスナーは、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

type プロパティ (autoLayout イベントオブジェクト) の値を定義します。

このイベントには、次のプロパティがあります。

プロパティ
bubblesfalse
cancelablefalse は、キャンセルするデフォルトの動作がないことを示します。
oldBoundsターゲットの xywidth、および height プロパティの値 (autoLayout イベントが発生する前のもの) です。
oldRegistrationBoundsターゲットの registrationXregistrationYregistrationWidth、および registrationHeight プロパティの値 (autoLayout イベントが発生する前のもの) です。
vpVideoPlayer オブジェクトのインデックスです。

関連項目





 

このページに新しいコメントが追加された場合に、電子メールでの通知を希望する。 | コメントレポート

現在のページ: http://livedocs.adobe.com/flash/9.0_jp/ActionScriptLangRefV3/fl/video/AutoLayoutEvent.html