Packagejp.progression.casts
Classpublic class CastDocument
InheritanceCastDocument Inheritance ExDocument Inheritance ExMovieClip Inheritance flash.display.MovieClip
Implements ICastObject

CastDocument クラスは、ExDocument クラスの基本機能を拡張し、イベントフローとの連携機能を実装した jp.progression パッケージで使用される基本的な表示オブジェクトクラスです。

View the examples



Public Properties
 PropertyDefined By
  align : String
[static] Flash Player またはブラウザでのステージの配置を指定する StageAlign クラスの値です。 A value from the StageAlign class that specifies the alignment of the stage in Flash Player or the browser.
CastDocument
  bottom : int
[static] [read-only] ステージ下の Y 座標を取得します。
CastDocument
 InheritedcenteringX : Boolean
ExDocument インスタンスの画面上の表示 X 座標を常に SWF ファイルエリアの中央とするかどうかを取得または設定します。 Acquire or set if the X coordinate of the ExDocument instance to display, will be at the center of the SWF file area.
ExDocument
 InheritedcenteringY : Boolean
ExDocument インスタンスの画面上の表示 Y 座標を常に SWF ファイルエリアの中央とするかどうかを取得または設定します。 Acquire or set if the Y coordinate of the ExDocument instance to display, will be at the center of the SWF file area.
ExDocument
  centerX : int
[static] [read-only] ステージ中央の X 座標を取得します。
CastDocument
  centerY : int
[static] [read-only] ステージ中央の Y 座標を取得します。
CastDocument
 Inheritedchildren : Array
[read-only] 子ディスプレイオブジェクトが保存されている配列です。 インデックス値が断続的に指定可能である為、getChildAt() ではなくこのプロパティを使用して子ディスプレイオブジェクト走査を行います。 この配列を操作することで元の配列を変更することはできません。 The array that saves child display objects.
ExMovieClip
 InheritedclassName : String
[read-only] インスタンスのクラス名を取得します。 Indicates the instance className of the IExDisplayObject.
ExMovieClip
  contentHeight : int
[static] [read-only] ロードされたファイルの規格高さです。
CastDocument
  contentWidth : int
[static] [read-only] ロードされたコンテンツの規格幅です。
CastDocument
  contextMenu : ContextMenu
[override]
CastDocument
  displayState : String
[static] 使用する表示状態を指定する StageDisplayState クラスの値です。 A value from the StageDisplayState class that specifies which display state to use.
CastDocument
  eventHandlerEnabled : Boolean
オブジェクトのイベントハンドラメソッドを有効化するかどうかを指定します。
CastDocument
  executor : CommandExecutor
[read-only] コマンドを実行する CommandExecutor インスタンスを取得します。
CastDocument
  frameRate : Number
[static] ステージのフレームレートを取得または設定します。 Gets and sets the frame rate of the stage.
CastDocument
 Inheritedgroup : String
インスタンスのグループ名を取得または設定します。 Indicates the instance group of the IExDisplayObject.
ExMovieClip
 Inheritedid : String
インスタンスの識別子を取得または設定します。 Indicates the instance id of the IExDisplayObject.
ExMovieClip
 InheritedisDragging : Boolean
[read-only] startDrag() メソッドを使用したドラッグ処理を行っている最中かどうかを取得します。 Returns if the drag process which uses startDrag() method is executing.
ExMovieClip
  isOnline : Boolean
[static] [read-only] SWF ファイルがオンライン上で実行されているかどうかを取得します。
CastDocument
 InheritedisPlaying : Boolean
[read-only] ムービークリップのタイムライン内で再生ヘッドの移動処理が行われているかどうかを取得します。 Returns if the movement processing of the playback head is executing in the timeline of the MovieClip.
ExMovieClip
  left : int
[static] [read-only] ステージ左の X 座標を取得します。
CastDocument
  loaderInfo : LoaderInfo
[static] [read-only] この表示オブジェクトが属するファイルのロード情報を含む LoaderInfo インスタンスを返します。 Returns a LoaderInfo object containing information about loading the file to which this display object belongs.
CastDocument
  onCastAdded : Function
キャストオブジェクトが CastEvent.CAST_ADDED イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
CastDocument
  onCastRemoved : Function
キャストオブジェクトが CastEvent.CAST_REMOVED イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
CastDocument
  onInit : Function
SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に呼び出されるイベントハンドラメソッドを取得または設定します。
CastDocument
  parallelMode : Boolean
CommandExecutor の実行方法を並列処理にするかどうかを取得または設定します。
CastDocument
  quality : String
[static] Flash Player が使用するレンダリング品質を指定する StageQuality クラスの値です。 A value from the StageQuality class that specifies which rendering quality is used.
CastDocument
 Inheritedrepeat : Boolean
ムービークリップの再生ヘッドが最後のフレームに移動された後に、最初のフレームに戻って再生を続けるかどうかを取得または設定します。 Get or set if it returns to the first frame and continue playback when the playback head reach to the last frame.
ExMovieClip
  right : int
[static] [read-only] ステージ右の X 座標を取得します。
CastDocument
  root : CastDocument
[static] [read-only] ロードされた SWF ファイル内の表示オブジェクトの場合、root プロパティはその SWF ファイルが表す表示リストのツリー構造部分の一番上にある表示オブジェクトとなります。 For a display object in a loaded SWF file, the root property is the top-most display object in the portion of the display list's tree structure represented by that SWF file.
CastDocument
  scaleMode : String
[static] 使用する拡大 / 縮小モードを指定する StageScaleMode クラスの値です。 A value from the StageScaleMode class that specifies which scale mode to use.
CastDocument
  stage : Stage
[static] [read-only] 表示オブジェクトのステージです。 The Stage of the display object.
CastDocument
  stageHeight : int
[static] ステージの現在の高さをピクセル単位で指定します。 The current height, in pixels, of the Stage.
CastDocument
  stageMinHeight : int
[static] ステージの最小高さをピクセル単位で指定します。
CastDocument
  stageMinWidth : int
[static] ステージの最小幅をピクセル単位で指定します。
CastDocument
  stageWidth : int
[static] ステージの現在の幅をピクセル単位で指定します。 Specifies the current width, in pixels, of the Stage.
CastDocument
  toolTip : ToolTip
[read-only] このオブジェクトに関連付けられている ToolTip インスタンスを取得します。
CastDocument
  top : int
[static] [read-only] ステージ上の Y 座標を取得します。
CastDocument
  uiContextMenu : CastObjectContextMenu
[read-only] このオブジェクトに関連付けられている CastObjectContextMenu インスタンスを取得します。
CastDocument
 Inheritedx : Number
[override] 親 DisplayObjectContainer のローカル座標を基準にした DisplayObject インスタンスの x 座標を示します。 この値は centering プロパティが true に設定されている場合には変更できません。 Indicates the x coordinate of the DisplayObject instance based on the local coordinate of the parent DisplayObjectContainer.
ExDocument
 Inheritedy : Number
[override] 親 DisplayObjectContainer のローカル座標を基準にした DisplayObject インスタンスの y 座標を示します。 この値は centering プロパティが true に設定されている場合には変更できません。 Indicates the y coordinate of the DisplayObject instance based on the local coordinate of the parent DisplayObjectContainer.
ExDocument
Public Methods
 MethodDefined By
  
CastDocument(initObject:Object = null)
新しい CastMovieClip インスタンスを作成します。 Creates a new CastMovieClip object.
CastDocument
 Inherited
addChild(child:DisplayObject):DisplayObject
[override] この DisplayObjectContainer インスタンスに子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.
ExMovieClip
 Inherited
addChildAt(child:DisplayObject, index:int):DisplayObject
[override] この DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.
ExMovieClip
 Inherited
addChildAtAbove(child:DisplayObject, index:int):DisplayObject
この DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.
ExMovieClip
  
addCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に削除されます。
CastDocument
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[static] イベントリスナーオブジェクトを EventIntegrator インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。 このメソッドを使用して登録されたリスナーを removeEventListener() メソッドで削除した場合には、restoreRemovedListeners() メソッドで再登録させることができます。 Register the event listener object into the EventIntegrator instance to get the event notification.
ExDocument
 Inherited
addExclusivelyEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[static] イベントリスナーオブジェクトを EventIntegrator インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。 このメソッドを使用して登録されたリスナーは、IEventIntegrator インスタンスの管理外となるため、removeEventListener() メソッドで削除した場合にも、restoreRemovedListeners() メソッドで再登録させることができません。 Register the event listener object into the EventIntegrator instance to get the event notification.
ExDocument
  
clearCommand(completely:Boolean = false):void
登録されている Command インスタンスを削除します。
CastDocument
 Inherited
completelyRemoveEventListener(type:String, listener:Function, useCapture:Boolean = false):void
[static] EventIntegrator インスタンスからリスナーを削除します。 このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができません。 Remove the listener from EventIntegrator instance.
ExDocument
 Inherited
contains(child:DisplayObject):Boolean
[override] 指定された表示オブジェクトが DisplayObjectContainer インスタンスの子であるか、オブジェクト自体であるかを指定します。 Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself.
ExMovieClip
 Inherited
dispatchEvent(event:Event):Boolean
[static] イベントをイベントフローに送出します。 Dispatches an event into the event flow.
ExDocument
 Inherited
getChildAt(index:int):DisplayObject
[override] 指定のインデックス位置にある子表示オブジェクトオブジェクトを返します。 Returns the child display object instance that exists at the specified index.
ExMovieClip
 Inherited
getChildByName(name:String):DisplayObject
[override] 指定された名前に一致する子表示オブジェクトを返します。 Returns the child display object that exists with the specified name.
ExMovieClip
 Inherited
getChildIndex(child:DisplayObject):int
[override] 子 DisplayObject インスタンスのインデックス位置を返します。 Returns the index position of a child DisplayObject instance.
ExMovieClip
 Inherited
getInstanceById(id:String):DisplayObject
指定された id と同じ値が設定されている IExDisplayObject インターフェイスを実装したインスタンスを返します。 Returns the instance implements the IExDisplayObject interface which is set the same value of the specified id.
ExMovieClip
 Inherited
getInstancesByGroup(group:String, sort:Boolean = false):Array
指定された group と同じ値を持つ IExDisplayObject インターフェイスを実装したインスタンスを含む配列を返します。 Returns the array contains the instance which implements the IExDisplayObject interface that has the same value of the specified group.
ExMovieClip
 Inherited
getInstancesByRegExp(fieldName:String, pattern:RegExp, sort:Boolean = false):Array
指定された fieldName が条件と一致する IExDisplayObject インターフェイスを実装したインスタンスを含む配列を返します。 Returns the array contains the instance which implements the IExDisplayObject interface that match the condition to the specified fieldName.
ExMovieClip
 Inherited
gotoAndPlay(frame:Object, scenes:String = null):void
[override] 指定されたフレームで SWF ファイルの再生を開始します。 Start the playback of the SWF file with the specified frame.
ExMovieClip
 Inherited
gotoAndStop(frame:Object, scenes:String = null):void
[override] このムービークリップの指定されたフレームに再生ヘッドを送り、そこで停止させます。 Set the palyback head to the specified frame of the MovieClip and stop at that point.
ExMovieClip
 Inherited
hasEventListener(type:String):Boolean
[static] EventIntegrator インスタンスに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。 Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
ExDocument
 Inherited
hasFrame(frame:*):Boolean
指定したフレームが存在しているかどうかを返します。 Returns if the specified frame exists.
ExMovieClip
  
insertCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをすでにリストに登録され、実行中の Command インスタンスの次の位置に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に削除されます。
CastDocument
 Inherited
nextFrame():void
[override] 次のフレームに再生ヘッドを送り、停止します。 Move the playback head to the next frame and stop at that point.
ExMovieClip
 Inherited
play():void
[override] ムービークリップのタイムライン内で再生ヘッドを移動します。 Moves the playback head in the timeline of the MovieClip.
ExMovieClip
 Inherited
prevFrame():void
[override] 直前のフレームに再生ヘッドを戻し、停止します。 Move the playback head to the previous frame and stop at that point.
ExMovieClip
 Inherited
DisplayObjectContainer に追加されている全ての子 DisplayObject インスタンスを削除します。 Removes the whole child DisplayObject instance added to the DisplayObjectContainer.
ExMovieClip
 Inherited
removeAllListeners(completely:Boolean = false):void
[static] addEventListener() メソッド経由で登録された全てのイベントリスナー登録を削除します。 完全に登録を削除しなかった場合には、削除されたイベントリスナーを restoreRemovedListeners() メソッドで復帰させることができます。 Remove the whole event listener registered via addEventListener() method.
ExDocument
 Inherited
removeChild(child:DisplayObject):DisplayObject
[override] DisplayObjectContainer インスタンスの子リストから指定の DisplayObject インスタンスを削除します。 Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
ExMovieClip
 Inherited
removeChildAt(index:int):DisplayObject
[override] DisplayObjectContainer の子リストの指定されたインデックス位置から子 DisplayObject インスタンスを削除します。 Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.
ExMovieClip
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
[static] EventIntegrator インスタンスからリスナーを削除します。 このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができます。 Remove the listener from EventIntegrator instance.
ExDocument
 Inherited
[static] removeEventListener() メソッド、または removeAllListeners() メソッド経由で削除された全てイベントリスナーを再登録します。 Re-register the whole event listener removed via removeEventListener() or removeAllListeners() method.
ExDocument
 Inherited
setChildIndex(child:DisplayObject, index:int):void
[override] 表示オブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing child in the display object container.
ExMovieClip
 Inherited
setChildIndexAbove(child:DisplayObject, index:int):void
表示オブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing child in the display object container.
ExMovieClip
 Inherited
setProperties(props:Object):DisplayObject
インスタンスに対して、複数のプロパティを一括設定します。 Setup the several instance properties.
ExMovieClip
 Inherited
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
[override] 指定されたスプライトをユーザーがドラッグできるようにします。 Allow the user to drag the specified sprite.
ExMovieClip
 Inherited
stop():void
[override] ムービークリップ内の再生ヘッドを停止します。 Stops the playback head in the MovieClip.
ExMovieClip
 Inherited
stopDrag():void
[override] startDrag() メソッドを終了します。 Ends the startDrag() method.
ExMovieClip
 Inherited
swapChildren(child1:DisplayObject, child2:DisplayObject):void
[override] 指定された 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。 Swaps the z-order (front-to-back order) of the two specified child objects.
ExMovieClip
 Inherited
swapChildrenAt(index1:int, index2:int):void
[override] 子リスト内の指定されたインデックス位置に該当する 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。 Swaps the z-order (front-to-back order) of the child objects at the two specified index positions in the child list.
ExMovieClip
 Inherited
ムービークリップの再生状態に応じて、再生もしくは停止します。 Playback or stops according to the playback state of the MovieClip.
ExMovieClip
 Inherited
toBitmapData(transparent:Boolean = true, fillColor:uint = 0xFFFFFFFF):BitmapData
指定されたオブジェクトの BitmapData 表現を返します。 Returns the BitmapData representation of the specified object.
ExMovieClip
 Inherited
toString():String
[override] 指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ExMovieClip
  
toSWFBasePath(url:String):String
[static] 指定された URL ストリングを SWF ファイルの設置されているフォルダを基準とした URL に変換して返します。 絶対パスが指定された場合には、そのまま返します。
CastDocument
 Inherited
willTrigger(type:String):Boolean
[static] 指定されたイベントタイプについて、この EventIntegrator インスタンスまたはその祖先にイベントリスナーが登録されているかどうかを確認します。 Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
ExDocument
Protected Methods
 MethodDefined By
  
サブクラスで onCastAdded イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onCastAdded プロパティに、別のメソッドを設定された場合は無効化されます。
CastDocument
  
サブクラスで onCastRemoved イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onCastRemoved プロパティに、別のメソッドを設定された場合は無効化されます。
CastDocument
  
_onInit():void
サブクラスで onInit イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onInit プロパティに、別のメソッドを設定された場合は無効化されます。
CastDocument
Events
 Event Summary Defined By
  ICastObject オブジェクトが AddChild コマンド、または AddChildAt コマンド経由でディスプレイリストに追加された場合に送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。CastDocument
  ICastObject オブジェクトが RemoveChild コマンド、または RemoveAllChild コマンド経由でディスプレイリストから削除された場合に送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。CastDocument
 InheritedSWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に送出されます。 Dispatch when the SWF file completes to read and the stage and the loaderInfo becomes able to access.ExDocument
 Inheritedステージのリサイズを終了した場合に送出されます。 Dispatch when stage finish to resize.ExDocument
 Inheritedステージがリサイズ処理をしている場合に送出されます。 Dispatch if the stage is processing the resize operation.ExDocument
 Inheritedステージのリサイズを開始した場合に送出されます。 Dispatch when start to resize the stage.ExDocument
Property Detail
alignproperty
align:String

Flash Player またはブラウザでのステージの配置を指定する StageAlign クラスの値です。 A value from the StageAlign class that specifies the alignment of the stage in Flash Player or the browser.


Implementation
    public static function get align():String
    public static function set align(value:String):void
bottomproperty 
bottom:int  [read-only]

ステージ下の Y 座標を取得します。


Implementation
    public static function get bottom():int
centerXproperty 
centerX:int  [read-only]

ステージ中央の X 座標を取得します。


Implementation
    public static function get centerX():int
centerYproperty 
centerY:int  [read-only]

ステージ中央の Y 座標を取得します。


Implementation
    public static function get centerY():int
contentHeightproperty 
contentHeight:int  [read-only]

ロードされたファイルの規格高さです。


Implementation
    public static function get contentHeight():int
contentWidthproperty 
contentWidth:int  [read-only]

ロードされたコンテンツの規格幅です。


Implementation
    public static function get contentWidth():int
contextMenuproperty 
contextMenu:ContextMenu[override]


Implementation
    public function get contextMenu():ContextMenu
    public function set contextMenu(value:ContextMenu):void
displayStateproperty 
displayState:String

使用する表示状態を指定する StageDisplayState クラスの値です。 A value from the StageDisplayState class that specifies which display state to use.


Implementation
    public static function get displayState():String
    public static function set displayState(value:String):void
eventHandlerEnabledproperty 
eventHandlerEnabled:Boolean

オブジェクトのイベントハンドラメソッドを有効化するかどうかを指定します。


Implementation
    public function get eventHandlerEnabled():Boolean
    public function set eventHandlerEnabled(value:Boolean):void
executorproperty 
executor:CommandExecutor  [read-only]

コマンドを実行する CommandExecutor インスタンスを取得します。


Implementation
    public function get executor():CommandExecutor
frameRateproperty 
frameRate:Number

ステージのフレームレートを取得または設定します。 Gets and sets the frame rate of the stage.


Implementation
    public static function get frameRate():Number
    public static function set frameRate(value:Number):void
isOnlineproperty 
isOnline:Boolean  [read-only]

SWF ファイルがオンライン上で実行されているかどうかを取得します。


Implementation
    public static function get isOnline():Boolean
leftproperty 
left:int  [read-only]

ステージ左の X 座標を取得します。


Implementation
    public static function get left():int
loaderInfoproperty 
loaderInfo:LoaderInfo  [read-only]

この表示オブジェクトが属するファイルのロード情報を含む LoaderInfo インスタンスを返します。 Returns a LoaderInfo object containing information about loading the file to which this display object belongs.


Implementation
    public static function get loaderInfo():LoaderInfo
onCastAddedproperty 
onCastAdded:Function

キャストオブジェクトが CastEvent.CAST_ADDED イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。


Implementation
    public function get onCastAdded():Function
    public function set onCastAdded(value:Function):void
onCastRemovedproperty 
onCastRemoved:Function

キャストオブジェクトが CastEvent.CAST_REMOVED イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。


Implementation
    public function get onCastRemoved():Function
    public function set onCastRemoved(value:Function):void
onInitproperty 
onInit:Function

SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に呼び出されるイベントハンドラメソッドを取得または設定します。


Implementation
    public function get onInit():Function
    public function set onInit(value:Function):void
parallelModeproperty 
parallelMode:Boolean

CommandExecutor の実行方法を並列処理にするかどうかを取得または設定します。


Implementation
    public function get parallelMode():Boolean
    public function set parallelMode(value:Boolean):void
qualityproperty 
quality:String

Flash Player が使用するレンダリング品質を指定する StageQuality クラスの値です。 A value from the StageQuality class that specifies which rendering quality is used.


Implementation
    public static function get quality():String
    public static function set quality(value:String):void
rightproperty 
right:int  [read-only]

ステージ右の X 座標を取得します。


Implementation
    public static function get right():int
rootproperty 
root:CastDocument  [read-only]

ロードされた SWF ファイル内の表示オブジェクトの場合、root プロパティはその SWF ファイルが表す表示リストのツリー構造部分の一番上にある表示オブジェクトとなります。 For a display object in a loaded SWF file, the root property is the top-most display object in the portion of the display list's tree structure represented by that SWF file.


Implementation
    public static function get root():CastDocument
scaleModeproperty 
scaleMode:String

使用する拡大 / 縮小モードを指定する StageScaleMode クラスの値です。 A value from the StageScaleMode class that specifies which scale mode to use.


Implementation
    public static function get scaleMode():String
    public static function set scaleMode(value:String):void
stageproperty 
stage:Stage  [read-only]

表示オブジェクトのステージです。 The Stage of the display object.


Implementation
    public static function get stage():Stage
stageHeightproperty 
stageHeight:int

ステージの現在の高さをピクセル単位で指定します。 The current height, in pixels, of the Stage.


Implementation
    public static function get stageHeight():int
    public static function set stageHeight(value:int):void
stageMinHeightproperty 
stageMinHeight:int

ステージの最小高さをピクセル単位で指定します。


Implementation
    public static function get stageMinHeight():int
    public static function set stageMinHeight(value:int):void
stageMinWidthproperty 
stageMinWidth:int

ステージの最小幅をピクセル単位で指定します。


Implementation
    public static function get stageMinWidth():int
    public static function set stageMinWidth(value:int):void
stageWidthproperty 
stageWidth:int

ステージの現在の幅をピクセル単位で指定します。 Specifies the current width, in pixels, of the Stage.


Implementation
    public static function get stageWidth():int
    public static function set stageWidth(value:int):void
toolTipproperty 
toolTip:ToolTip  [read-only]

このオブジェクトに関連付けられている ToolTip インスタンスを取得します。


Implementation
    public function get toolTip():ToolTip
topproperty 
top:int  [read-only]

ステージ上の Y 座標を取得します。


Implementation
    public static function get top():int
uiContextMenuproperty 
uiContextMenu:CastObjectContextMenu  [read-only]

このオブジェクトに関連付けられている CastObjectContextMenu インスタンスを取得します。


Implementation
    public function get uiContextMenu():CastObjectContextMenu
Constructor Detail
CastDocument()Constructor
public function CastDocument(initObject:Object = null)

新しい CastMovieClip インスタンスを作成します。 Creates a new CastMovieClip object.

Parameters
initObject:Object (default = null)設定したいプロパティを含んだオブジェクトです。
Method Detail
_onCastAdded()method
protected function _onCastAdded():void

サブクラスで onCastAdded イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onCastAdded プロパティに、別のメソッドを設定された場合は無効化されます。

_onCastRemoved()method 
protected function _onCastRemoved():void

サブクラスで onCastRemoved イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onCastRemoved プロパティに、別のメソッドを設定された場合は無効化されます。

_onInit()method 
protected function _onInit():void

サブクラスで onInit イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onInit プロパティに、別のメソッドを設定された場合は無効化されます。

addCommand()method 
public function addCommand(... commands):void

特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に削除されます。

Parameters

... commands登録したいコマンドを含む配列です。

clearCommand()method 
public function clearCommand(completely:Boolean = false):void

登録されている Command インスタンスを削除します。

Parameters

completely:Boolean (default = false)true が設定されている場合は登録されている全てのコマンド登録を解除し、false の場合には現在処理中のコマンド以降の登録を解除します。

insertCommand()method 
public function insertCommand(... commands):void

特定のイベントが送出された際に、自動実行させたい Command インスタンスをすでにリストに登録され、実行中の Command インスタンスの次の位置に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に削除されます。

Parameters

... commands登録したいコマンドを含む配列です。

toSWFBasePath()method 
public static function toSWFBasePath(url:String):String

指定された URL ストリングを SWF ファイルの設置されているフォルダを基準とした URL に変換して返します。 絶対パスが指定された場合には、そのまま返します。

Parameters

url:String変換したい URL のストリング表現です。

Returns
String変換された URL のストリング表現です。
Event Detail
castAdded Event
Event Object Type: jp.progression.events.CastEvent
CastEvent.type property = jp.progression.events.CastEvent.CAST_ADDED

ICastObject オブジェクトが AddChild コマンド、または AddChildAt コマンド経由でディスプレイリストに追加された場合に送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。

castAdded イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.CAST_ADDED constant defines the value of the type property of an castAdded event object.
castRemoved Event  
Event Object Type: jp.progression.events.CastEvent
CastEvent.type property = jp.progression.events.CastEvent.CAST_REMOVED

ICastObject オブジェクトが RemoveChild コマンド、または RemoveAllChild コマンド経由でディスプレイリストから削除された場合に送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。

castRemoved イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.CAST_REMOVED constant defines the value of the type property of an castRemoved event object.
Examples