Packagejp.nium.display
Classpublic class ExDocument
InheritanceExDocument Inheritance ExMovieClip Inheritance flash.display.MovieClip
SubclassesCastDocument, CastPreloader, CastTimeline

ExDocument クラスは、ExMovieClip クラスに対してドキュメントクラスとしての機能拡張を追加したドキュメント専用クラスです。 The ExDocument class is a display object class that added the functionality expansion as the document class, to the ExMovieClip class.


Example
  

See also

jp.nium.display.getInstanceById()
jp.nium.display.getInstancesByGroup()


Public Properties
 PropertyDefined 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
 Inheritedchildren : Array
子ディスプレイオブジェクトが保存されている配列です。 インデックス値が断続的に指定可能であるため、getChildAt() ではなくこのプロパティを使用して子ディスプレイオブジェクト走査を行います。 この配列を操作することで元の配列を変更することはできません。 The array that saves child display objects.
ExMovieClip
 InheritedclassName : String
インスタンスのクラス名を取得します。 Indicates the instance className of the IExDisplayObject.
ExMovieClip
 Inheritedgroup : String
インスタンスのグループ名を取得または設定します。 Indicates the instance group of the IExDisplayObject.
ExMovieClip
 Inheritedid : String
インスタンスの識別子を取得または設定します。 Indicates the instance id of the IExDisplayObject.
ExMovieClip
 InheritedisDragging : Boolean
startDrag() メソッドを使用したドラッグ処理を行っている最中かどうかを取得します。 Returns if the drag process which uses startDrag() method is executing.
ExMovieClip
 InheritedisPlaying : 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
 InheriteduseChildIndexer : Boolean
ExMovieClip
Public Methods
 MethodDefined by
  
ExDocument(initObject:Object = null)
新しい ExDocument インスタンスを作成します。 Creates a new ExDocument object.
ExDocument
 Inherited
addChild(child:DisplayObject):DisplayObject
この DisplayObjectContainer インスタンスに子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.
ExMovieClip
 Inherited
addChildAt(child:DisplayObject, index:int):DisplayObject
この 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
 Inherited
getChildAt(index:int):DisplayObject
指定のインデックス位置にある子表示オブジェクトオブジェクトを返します。 Returns the child display object instance that exists at the specified index.
ExMovieClip
 Inherited
getChildIndex(child:DisplayObject):int
子 DisplayObject インスタンスのインデックス位置を返します。 Returns the index position of a child DisplayObject instance.
ExMovieClip
 Inherited
gotoAndPlay(frame:Object, scenes:String = null):void
指定されたフレームで SWF ファイルの再生を開始します。 Start the playback of the SWF file with the specified frame.
ExMovieClip
 Inherited
gotoAndStop(frame:Object, scenes:String = null):void
このムービークリップの指定されたフレームに再生ヘッドを送り、そこで停止させます。 Set the palyback head to the specified frame of the MovieClip and stop at that point.
ExMovieClip
 Inherited
nextFrame():void
次のフレームに再生ヘッドを送り、停止します。 Move the playback head to the next frame and stop at that point.
ExMovieClip
 Inherited
play():void
ムービークリップのタイムライン内で再生ヘッドを移動します。 Moves the playback head in the timeline of the MovieClip.
ExMovieClip
 Inherited
prevFrame():void
直前のフレームに再生ヘッドを戻し、停止します。 Move the playback head to the previous frame and stop at that point.
ExMovieClip
 Inherited
DisplayObjectContainer に追加されている全ての子 DisplayObject インスタンスを削除します。 Remove the whole child DisplayObject instance which added to the DisplayObjectContainer.
ExMovieClip
 Inherited
removeChild(child:DisplayObject):DisplayObject
DisplayObjectContainer インスタンスの子リストから指定の DisplayObject インスタンスを削除します。 Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
ExMovieClip
 Inherited
removeChildAt(index:int):DisplayObject
DisplayObjectContainer の子リストの指定されたインデックス位置から子 DisplayObject インスタンスを削除します。 Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.
ExMovieClip
 Inherited
setChildIndex(child:DisplayObject, index:int):void
表示オブジェクトコンテナの既存の子の位置を変更します。 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(parameters:Object):DisplayObject
インスタンスに対して、複数のプロパティを一括設定します。 Setup the several instance properties.
ExMovieClip
 Inherited
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
指定されたスプライトをユーザーがドラッグできるようにします。 Allow the user to drag the specified sprite.
ExMovieClip
 Inherited
stop():void
ムービークリップ内の再生ヘッドを停止します。 Stops the playback head in the MovieClip.
ExMovieClip
 Inherited
stopDrag():void
startDrag() メソッドを終了します。 Ends the startDrag() method.
ExMovieClip
 Inherited
swapChildren(child1:DisplayObject, child2:DisplayObject):void
指定された 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。 Swaps the z-order (front-to-back order) of the two specified child objects.
ExMovieClip
 Inherited
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
 Inherited
ムービークリップの再生状態に応じて、再生もしくは停止します。 Playback or stops according to the playback state of the MovieClip.
ExMovieClip
 Inherited
toString():String
指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ExMovieClip
Events
 EventSummaryDefined by
   SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に送出されます。 Dispatch when the SWF file completes to read and the stage and the loaderInfo becomes able to access. ExDocument
Property detail
bottomproperty
bottom:Number  [read-only]

ステージ下の Y 座標を取得します。 Get the bottom Y coordinate of the stage.

Implementation
    public static function get bottom():Number
centerproperty 
center:Number  [read-only]

ステージ中央の X 座標を取得します。 Get the center X coordinate of the stage.

Implementation
    public static function get center():Number
isReadyproperty 
isReady:Boolean  [read-only]

ドキュメントの準備が完了しているかどうかを取得します。

Implementation
    public function get isReady():Boolean
leftproperty 
left:Number  [read-only]

ステージ左の X 座標を取得します。 Get the left X coordinate of the stage.

Implementation
    public static function get left():Number
middleproperty 
middle:Number  [read-only]

ステージ中央の Y 座標を取得します。 Get the center Y coordinate of the stage.

Implementation
    public static function get middle():Number
rightproperty 
right:Number  [read-only]

ステージ右の X 座標を取得します。 Get the right X coordinate of the stage.

Implementation
    public static function get right():Number
rootproperty 
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
stageproperty 
stage:Stage  [read-only]

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

Implementation
    public static function get stage():Stage
topproperty 
top:Number  [read-only]

ステージ上の Y 座標を取得します。 Get the top Y coordinate of the stage.

Implementation
    public static function get top():Number
Constructor detail
ExDocument()constructor
public function ExDocument(initObject:Object = null)

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

Parameters
initObject:Object (default = null)設定したいプロパティを含んだオブジェクトです。
Event detail
exReadyevent 
Event object type: 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.