| Package | jp.nium.display |
| Class | public class ExDocument |
| Inheritance | ExDocument ExMovieClip flash.display.MovieClip |
| Subclasses | CastDocument, CastPreloader, CastTimeline |
See also
| Property | Defined by | ||
|---|---|---|---|
| bottom : Number [static][read-only]
ステージ下の Y 座標を取得します。
Get the bottom Y coordinate of the stage.
| ExDocument | ||
| center : Number [static][read-only]
ステージ中央の X 座標を取得します。
Get the center X coordinate of the stage.
| ExDocument | ||
![]() | children : Array
子ディスプレイオブジェクトが保存されている配列です。
インデックス値が断続的に指定可能であるため、getChildAt() ではなくこのプロパティを使用して子ディスプレイオブジェクト走査を行います。
この配列を操作することで元の配列を変更することはできません。
The array that saves child display objects.
| ExMovieClip | |
![]() | className : String
インスタンスのクラス名を取得します。
Indicates the instance className of the IExDisplayObject.
| ExMovieClip | |
![]() | group : String
インスタンスのグループ名を取得または設定します。
Indicates the instance group of the IExDisplayObject.
| ExMovieClip | |
![]() | id : String
インスタンスの識別子を取得または設定します。
Indicates the instance id of the IExDisplayObject.
| ExMovieClip | |
![]() | isDragging : Boolean
startDrag() メソッドを使用したドラッグ処理を行っている最中かどうかを取得します。
Returns if the drag process which uses startDrag() method is executing.
| ExMovieClip | |
![]() | isPlaying : Boolean
ムービークリップのタイムライン内で再生ヘッドの移動処理が行われているかどうかを取得します。
Returns if the movement processing of the playback head is executing in the timeline of the MovieClip.
| ExMovieClip | |
| isReady : Boolean [read-only]
ドキュメントの準備が完了しているかどうかを取得します。
| ExDocument | ||
| left : Number [static][read-only]
ステージ左の X 座標を取得します。
Get the left X coordinate of the stage.
| ExDocument | ||
| middle : Number [static][read-only]
ステージ中央の Y 座標を取得します。
Get the center Y coordinate of the stage.
| ExDocument | ||
| right : Number [static][read-only]
ステージ右の X 座標を取得します。
Get the right X coordinate of the stage.
| ExDocument | ||
| root : ExDocument
[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.
| ExDocument | ||
| stage : Stage [static][read-only]
表示オブジェクトのステージです。
The Stage of the display object.
| ExDocument | ||
| top : Number [static][read-only]
ステージ上の Y 座標を取得します。
Get the top Y coordinate of the stage.
| ExDocument | ||
![]() | useChildIndexer : Boolean | ExMovieClip | |
| Method | Defined by | ||
|---|---|---|---|
|
ExDocument(initObject:Object = null)
新しい ExDocument インスタンスを作成します。
Creates a new ExDocument object.
| ExDocument | ||
![]() |
addChild(child:DisplayObject):DisplayObject
この DisplayObjectContainer インスタンスに子 DisplayObject インスタンスを追加します。
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
| ExMovieClip | |
![]() |
addChildAt(child:DisplayObject, index:int):DisplayObject
この DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
| ExMovieClip | |
![]() |
addChildAtAbove(child:DisplayObject, index:int):DisplayObject
この DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
| ExMovieClip | |
![]() |
getChildAt(index:int):DisplayObject
指定のインデックス位置にある子表示オブジェクトオブジェクトを返します。
Returns the child display object instance that exists at the specified index.
| ExMovieClip | |
![]() |
getChildIndex(child:DisplayObject):int
子 DisplayObject インスタンスのインデックス位置を返します。
Returns the index position of a child DisplayObject instance.
| ExMovieClip | |
![]() |
gotoAndPlay(frame:Object, scenes:String = null):void
指定されたフレームで SWF ファイルの再生を開始します。
Start the playback of the SWF file with the specified frame.
| ExMovieClip | |
![]() |
gotoAndStop(frame:Object, scenes:String = null):void
このムービークリップの指定されたフレームに再生ヘッドを送り、そこで停止させます。
Set the palyback head to the specified frame of the MovieClip and stop at that point.
| ExMovieClip | |
![]() |
nextFrame():void
次のフレームに再生ヘッドを送り、停止します。
Move the playback head to the next frame and stop at that point.
| ExMovieClip | |
![]() |
play():void
ムービークリップのタイムライン内で再生ヘッドを移動します。
Moves the playback head in the timeline of the MovieClip.
| ExMovieClip | |
![]() |
prevFrame():void
直前のフレームに再生ヘッドを戻し、停止します。
Move the playback head to the previous frame and stop at that point.
| ExMovieClip | |
![]() |
removeAllChildren():void
DisplayObjectContainer に追加されている全ての子 DisplayObject インスタンスを削除します。
Remove the whole child DisplayObject instance which added to the DisplayObjectContainer.
| ExMovieClip | |
![]() |
removeChild(child:DisplayObject):DisplayObject
DisplayObjectContainer インスタンスの子リストから指定の DisplayObject インスタンスを削除します。
Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
| ExMovieClip | |
![]() |
removeChildAt(index:int):DisplayObject
DisplayObjectContainer の子リストの指定されたインデックス位置から子 DisplayObject インスタンスを削除します。
Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.
| ExMovieClip | |
![]() |
setChildIndex(child:DisplayObject, index:int):void
表示オブジェクトコンテナの既存の子の位置を変更します。
Changes the position of an existing child in the display object container.
| ExMovieClip | |
![]() |
setChildIndexAbove(child:DisplayObject, index:int):void
表示オブジェクトコンテナの既存の子の位置を変更します。
Changes the position of an existing child in the display object container.
| ExMovieClip | |
![]() |
setProperties(parameters:Object):DisplayObject
インスタンスに対して、複数のプロパティを一括設定します。
Setup the several instance properties.
| ExMovieClip | |
![]() |
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
指定されたスプライトをユーザーがドラッグできるようにします。
Allow the user to drag the specified sprite.
| ExMovieClip | |
![]() |
stop():void
ムービークリップ内の再生ヘッドを停止します。
Stops the playback head in the MovieClip.
| ExMovieClip | |
![]() |
stopDrag():void
startDrag() メソッドを終了します。
Ends the startDrag() method.
| ExMovieClip | |
![]() |
swapChildren(child1:DisplayObject, child2:DisplayObject):void
指定された 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。
Swaps the z-order (front-to-back order) of the two specified child objects.
| ExMovieClip | |
![]() |
swapChildrenAt(index1:int, index2:int):void
子リスト内の指定されたインデックス位置に該当する 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 | |
![]() |
switchAtPlaying():void
ムービークリップの再生状態に応じて、再生もしくは停止します。
Playback or stops according to the playback state of the MovieClip.
| ExMovieClip | |
![]() |
toString():String
指定されたオブジェクトのストリング表現を返します。
Returns the string representation of the specified object.
| ExMovieClip | |
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に送出されます。 Dispatch when the SWF file completes to read and the stage and the loaderInfo becomes able to access. | ExDocument | |||
| bottom | property |
bottom:Number [read-only]ステージ下の Y 座標を取得します。 Get the bottom Y coordinate of the stage.
Implementation public static function get bottom():Number
| center | property |
center:Number [read-only]ステージ中央の X 座標を取得します。 Get the center X coordinate of the stage.
Implementation public static function get center():Number
| isReady | property |
isReady:Boolean [read-only]ドキュメントの準備が完了しているかどうかを取得します。
Implementation public function get isReady():Boolean
| left | property |
left:Number [read-only]ステージ左の X 座標を取得します。 Get the left X coordinate of the stage.
Implementation public static function get left():Number
| middle | property |
middle:Number [read-only]ステージ中央の Y 座標を取得します。 Get the center Y coordinate of the stage.
Implementation public static function get middle():Number
| right | property |
right:Number [read-only]ステージ右の X 座標を取得します。 Get the right X coordinate of the stage.
Implementation public static function get right():Number
| root | property |
root:ExDocument [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():ExDocument
| stage | property |
stage:Stage [read-only]表示オブジェクトのステージです。 The Stage of the display object.
Implementation public static function get stage():Stage
| top | property |
top:Number [read-only]ステージ上の Y 座標を取得します。 Get the top Y coordinate of the stage.
Implementation public static function get top():Number
| ExDocument | () | constructor |
public function ExDocument(initObject:Object = null)新しい ExDocument インスタンスを作成します。 Creates a new ExDocument object.
ParametersinitObject:Object (default = null) — 設定したいプロパティを含んだオブジェクトです。
|
| exReady | event |
jp.nium.events.ExEvent
SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に送出されます。 Dispatch when the SWF file completes to read and the stage and the loaderInfo becomes able to access.