| Package | jp.nium.display |
| Class | public class ExMovieClip |
| Inheritance | ExMovieClip flash.display.MovieClip |
| Implements | IExDisplayObjectContainer, IEventIntegrator |
| Subclasses | CastButton, CastMovieClip, ExDocument |
| Property | Defined By | ||
|---|---|---|---|
| children : Array [read-only]
子ディスプレイオブジェクトが保存されている配列です。
インデックス値が断続的に指定可能である為、getChildAt() ではなくこのプロパティを使用して子ディスプレイオブジェクト走査を行います。
この配列を操作することで元の配列を変更することはできません。
The array that saves child display objects. | ExMovieClip | ||
| className : String [read-only]
インスタンスのクラス名を取得します。
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 [read-only]
startDrag() メソッドを使用したドラッグ処理を行っている最中かどうかを取得します。
Returns if the drag process which uses startDrag() method is executing.
| ExMovieClip | ||
| isPlaying : Boolean [read-only]
ムービークリップのタイムライン内で再生ヘッドの移動処理が行われているかどうかを取得します。
Returns if the movement processing of the playback head is executing in the timeline of the MovieClip.
| ExMovieClip | ||
| repeat : Boolean
ムービークリップの再生ヘッドが最後のフレームに移動された後に、最初のフレームに戻って再生を続けるかどうかを取得または設定します。
Get or set if it returns to the first frame and continue playback when the playback head reach to the last frame.
| ExMovieClip | ||
| Method | Defined By | ||
|---|---|---|---|
新しい ExMovieClip インスタンスを作成します。
Creates a new ExMovieClip object.
| ExMovieClip | ||
addChild(child:DisplayObject):DisplayObject [override]
この DisplayObjectContainer インスタンスに子 DisplayObject インスタンスを追加します。
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
| ExMovieClip | ||
addChildAt(child:DisplayObject, index:int):DisplayObject [override]
この 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 | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void [override]
イベントリスナーオブジェクトを EventIntegrator インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。
このメソッドを使用して登録されたリスナーを removeEventListener() メソッドで削除した場合には、restoreRemovedListeners() メソッドで再登録させることができます。
Register the event listener object into the EventIntegrator instance to get the event notification. | ExMovieClip | ||
addExclusivelyEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
イベントリスナーオブジェクトを EventIntegrator インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。
このメソッドを使用して登録されたリスナーは、IEventIntegrator インスタンスの管理外となるため、removeEventListener() メソッドで削除した場合にも、restoreRemovedListeners() メソッドで再登録させることができません。
Register the event listener object into the EventIntegrator instance to get the event notification. | ExMovieClip | ||
completelyRemoveEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventIntegrator インスタンスからリスナーを削除します。
このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができません。
Remove the listener from EventIntegrator instance. | ExMovieClip | ||
contains(child:DisplayObject):Boolean [override]
指定された表示オブジェクトが DisplayObjectContainer インスタンスの子であるか、オブジェクト自体であるかを指定します。
Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself.
| ExMovieClip | ||
dispatchEvent(event:Event):Boolean [override]
イベントをイベントフローに送出します。
Dispatches an event into the event flow.
| ExMovieClip | ||
getChildAt(index:int):DisplayObject [override]
指定のインデックス位置にある子表示オブジェクトオブジェクトを返します。
Returns the child display object instance that exists at the specified index.
| ExMovieClip | ||
getChildByName(name:String):DisplayObject [override]
指定された名前に一致する子表示オブジェクトを返します。
Returns the child display object that exists with the specified name.
| ExMovieClip | ||
getChildIndex(child:DisplayObject):int [override]
子 DisplayObject インスタンスのインデックス位置を返します。
Returns the index position of a child DisplayObject instance.
| ExMovieClip | ||
getInstanceById(id:String):DisplayObject
指定された id と同じ値が設定されている IExDisplayObject インターフェイスを実装したインスタンスを返します。
Returns the instance implements the IExDisplayObject interface which is set the same value of the specified id.
| ExMovieClip | ||
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 | ||
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 | ||
gotoAndPlay(frame:Object, scenes:String = null):void [override]
指定されたフレームで SWF ファイルの再生を開始します。
Start the playback of the SWF file with the specified frame.
| ExMovieClip | ||
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 | ||
hasEventListener(type:String):Boolean [override]
EventIntegrator インスタンスに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| ExMovieClip | ||
hasFrame(frame:*):Boolean
指定したフレームが存在しているかどうかを返します。
Returns if the specified frame exists.
| ExMovieClip | ||
nextFrame():void [override]
次のフレームに再生ヘッドを送り、停止します。
Move the playback head to the next frame and stop at that point.
| ExMovieClip | ||
play():void [override]
ムービークリップのタイムライン内で再生ヘッドを移動します。
Moves the playback head in the timeline of the MovieClip.
| ExMovieClip | ||
prevFrame():void [override]
直前のフレームに再生ヘッドを戻し、停止します。
Move the playback head to the previous frame and stop at that point.
| ExMovieClip | ||
removeAllChildren():void
DisplayObjectContainer に追加されている全ての子 DisplayObject インスタンスを削除します。
Removes the whole child DisplayObject instance added to the DisplayObjectContainer.
| ExMovieClip | ||
removeAllListeners(completely:Boolean = false):void
addEventListener() メソッド経由で登録された全てのイベントリスナー登録を削除します。
完全に登録を削除しなかった場合には、削除されたイベントリスナーを restoreRemovedListeners() メソッドで復帰させることができます。
Remove the whole event listener registered via addEventListener() method. | ExMovieClip | ||
removeChild(child:DisplayObject):DisplayObject [override]
DisplayObjectContainer インスタンスの子リストから指定の DisplayObject インスタンスを削除します。
Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
| ExMovieClip | ||
removeChildAt(index:int):DisplayObject [override]
DisplayObjectContainer の子リストの指定されたインデックス位置から子 DisplayObject インスタンスを削除します。
Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.
| ExMovieClip | ||
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void [override]
EventIntegrator インスタンスからリスナーを削除します。
このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができます。
Remove the listener from EventIntegrator instance. | ExMovieClip | ||
restoreRemovedListeners():void
removeEventListener() メソッド、または removeAllListeners() メソッド経由で削除された全てイベントリスナーを再登録します。
Re-register the whole event listener removed via removeEventListener() or removeAllListeners() method.
| ExMovieClip | ||
setChildIndex(child:DisplayObject, index:int):void [override]
表示オブジェクトコンテナの既存の子の位置を変更します。
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(props:Object):DisplayObject
インスタンスに対して、複数のプロパティを一括設定します。
Setup the several instance properties.
| ExMovieClip | ||
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void [override]
指定されたスプライトをユーザーがドラッグできるようにします。
Allow the user to drag the specified sprite.
| ExMovieClip | ||
stop():void [override]
ムービークリップ内の再生ヘッドを停止します。
Stops the playback head in the MovieClip.
| ExMovieClip | ||
stopDrag():void [override]
startDrag() メソッドを終了します。
Ends the startDrag() method.
| ExMovieClip | ||
swapChildren(child1:DisplayObject, child2:DisplayObject):void [override]
指定された 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。
Swaps the z-order (front-to-back order) of the two specified child objects.
| ExMovieClip | ||
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 | ||
switchAtPlaying():void
ムービークリップの再生状態に応じて、再生もしくは停止します。
Playback or stops according to the playback state of the MovieClip.
| ExMovieClip | ||
toBitmapData(transparent:Boolean = true, fillColor:uint = 0xFFFFFFFF):BitmapData
指定されたオブジェクトの BitmapData 表現を返します。
Returns the BitmapData representation of the specified object.
| ExMovieClip | ||
toString():String [override]
指定されたオブジェクトのストリング表現を返します。
Returns the string representation of the specified object.
| ExMovieClip | ||
willTrigger(type:String):Boolean [override]
指定されたイベントタイプについて、この EventIntegrator インスタンスまたはその祖先にイベントリスナーが登録されているかどうかを確認します。
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
| ExMovieClip | ||
| children | property |
children:Array [read-only] 子ディスプレイオブジェクトが保存されている配列です。 インデックス値が断続的に指定可能である為、getChildAt() ではなくこのプロパティを使用して子ディスプレイオブジェクト走査を行います。 この配列を操作することで元の配列を変更することはできません。 The array that saves child display objects. Because the index value can specify intermittently, it scans the child display object by not using getChildAt() but using this property. It can not change the original array by operating this array.
public function get children():Array| className | property |
className:String [read-only] インスタンスのクラス名を取得します。 Indicates the instance className of the IExDisplayObject.
public function get className():String| group | property |
group:Stringインスタンスのグループ名を取得または設定します。 Indicates the instance group of the IExDisplayObject.
public function get group():String public function set group(value:String):void| id | property |
id:Stringインスタンスの識別子を取得または設定します。 Indicates the instance id of the IExDisplayObject.
public function get id():String public function set id(value:String):void| isDragging | property |
isDragging:Boolean [read-only] startDrag() メソッドを使用したドラッグ処理を行っている最中かどうかを取得します。 Returns if the drag process which uses startDrag() method is executing.
public function get isDragging():Boolean| isPlaying | property |
isPlaying:Boolean [read-only] ムービークリップのタイムライン内で再生ヘッドの移動処理が行われているかどうかを取得します。 Returns if the movement processing of the playback head is executing in the timeline of the MovieClip.
public function get isPlaying():Boolean| repeat | property |
repeat:Booleanムービークリップの再生ヘッドが最後のフレームに移動された後に、最初のフレームに戻って再生を続けるかどうかを取得または設定します。 Get or set if it returns to the first frame and continue playback when the playback head reach to the last frame.
public function get repeat():Boolean public function set repeat(value:Boolean):void| ExMovieClip | () | Constructor |
public function ExMovieClip()新しい ExMovieClip インスタンスを作成します。 Creates a new ExMovieClip object.
| addChild | () | method |
override public function addChild(child:DisplayObject):DisplayObjectこの DisplayObjectContainer インスタンスに子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.
Parameters
child:DisplayObject — 対象の DisplayObjectContainer インスタンスの子として追加する DisplayObject インスタンスです。
The DisplayObject instance to add as a child of this DisplayObjectContainer instance.
|
DisplayObject —
child パラメータで渡す DisplayObject インスタンスです。
The DisplayObject instance that you pass in the child parameter.
|
| addChildAt | () | method |
override public function addChildAt(child:DisplayObject, index:int):DisplayObjectこの DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.
Parameters
child:DisplayObject — 対象の DisplayObjectContainer インスタンスの子として追加する DisplayObject インスタンスです。
The DisplayObject instance to add as a child of this DisplayObjectContainer instance.
| |
index:int — 子を追加するインデックス位置です。
The index position to which the child is added. If you specify a currently occupied index position, the child object that exists at that position and all higher positions are moved up one position in the child list.
|
DisplayObject —
child パラメータで渡す DisplayObject インスタンスです。
The DisplayObject instance that you pass in the child parameter.
|
| addChildAtAbove | () | method |
public function addChildAtAbove(child:DisplayObject, index:int):DisplayObjectこの DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.
Parameters
child:DisplayObject — 対象の DisplayObjectContainer インスタンスの子として追加する DisplayObject インスタンスです。
The DisplayObject instance to add as a child of this DisplayObjectContainer instance.
| |
index:int — 子を追加するインデックス位置です。
The index position to which the child is added. If you specify a currently occupied index position, the child object that exists at that position and all higher positions are moved up one position in the child list.
|
DisplayObject —
child パラメータで渡す DisplayObject インスタンスです。
The DisplayObject instance that you pass in the child parameter.
|
| addEventListener | () | method |
override public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidイベントリスナーオブジェクトを EventIntegrator インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。 このメソッドを使用して登録されたリスナーを removeEventListener() メソッドで削除した場合には、restoreRemovedListeners() メソッドで再登録させることができます。 Register the event listener object into the EventIntegrator instance to get the event notification. If the registered listener by this method removed by using removeEventListener() method, it can re-register using restoreRemovedListeners() method.
Parameters
type:String — イベントのタイプです。
The type of event.
| |
listener:Function — イベントを処理するリスナー関数です。この関数は Event インスタンスを唯一のパラメータとして受け取り、何も返さないものである必要があります。関数は任意の名前を持つことができます。
The listener function that processes the event. This function must accept an Event object as its only parameter and must return nothing. The function can have any name.
| |
useCapture:Boolean (default = false) — リスナーが、キャプチャ段階、またはターゲットおよびバブリング段階で動作するかどうかを判断します。useCapture を true に設定すると、リスナーはキャプチャ段階のみでイベントを処理し、ターゲット段階またはバブリング段階では処理しません。useCapture を false に設定すると、リスナーはターゲット段階またはバブリング段階のみでイベントを処理します。3 つの段階すべてでイベントを受け取るには、addEventListener を 2 回呼び出します。useCapture を true に設定して 1 度呼び出し、useCapture を false に設定してもう一度呼び出します。
Determines whether the listener works in the capture phase or the target and bubbling phases. If useCapture is set to true, the listener processes the event only during the capture phase and not in the target or bubbling phase. If useCapture is false, the listener processes the event only during the target or bubbling phase. To listen for the event in all three phases, call addEventListener twice, once with useCapture set to true, then again with useCapture set to false.
| |
priority:int (default = 0) — イベントリスナーの優先度レベルです。優先度は、符号付き 32 ビット整数で指定します。数値が大きくなるほど優先度が高くなります。優先度が n のすべてのリスナーは、優先度が n -1 のリスナーよりも前に処理されます。複数のリスナーに対して同じ優先度が設定されている場合、それらは追加された順番に処理されます。デフォルトの優先度は 0 です。
The priority level of the event listener. The priority is designated by a signed 32-bit integer. The higher the number, the higher the priority. All listeners with priority n are processed before listeners of priority n-1. If two or more listeners share the same priority, they are processed in the order in which they were added. The default priority is 0.
| |
useWeakReference:Boolean (default = false) — リスナーへの参照が強参照と弱参照のいずれであるかを判断します。デフォルトである強参照の場合は、リスナーのガベージコレクションが回避されます。弱参照では回避されません。
Determines whether the reference to the listener is strong or weak. A strong reference (the default) prevents your listener from being garbage-collected. A weak reference does not.
|
| addExclusivelyEventListener | () | method |
public function addExclusivelyEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidイベントリスナーオブジェクトを EventIntegrator インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。 このメソッドを使用して登録されたリスナーは、IEventIntegrator インスタンスの管理外となるため、removeEventListener() メソッドで削除した場合にも、restoreRemovedListeners() メソッドで再登録させることができません。 Register the event listener object into the EventIntegrator instance to get the event notification. The listener registered by this method can not re-registered by using restoreRemovedListeners() method in case it is removed by using removeEventListener() method, because it is not managed by IEventIntegrator instance
Parameters
type:String — イベントのタイプです。
The type of event.
| |
listener:Function — イベントを処理するリスナー関数です。この関数は Event インスタンスを唯一のパラメータとして受け取り、何も返さないものである必要があります。関数は任意の名前を持つことができます。
The listener function that processes the event. This function must accept an Event object as its only parameter and must return nothing. The function can have any name.
| |
useCapture:Boolean (default = false) — リスナーが、キャプチャ段階、またはターゲットおよびバブリング段階で動作するかどうかを判断します。useCapture を true に設定すると、リスナーはキャプチャ段階のみでイベントを処理し、ターゲット段階またはバブリング段階では処理しません。useCapture を false に設定すると、リスナーはターゲット段階またはバブリング段階のみでイベントを処理します。3 つの段階すべてでイベントを受け取るには、addEventListener を 2 回呼び出します。useCapture を true に設定して 1 度呼び出し、useCapture を false に設定してもう一度呼び出します。
Determines whether the listener works in the capture phase or the target and bubbling phases. If useCapture is set to true, the listener processes the event only during the capture phase and not in the target or bubbling phase. If useCapture is false, the listener processes the event only during the target or bubbling phase. To listen for the event in all three phases, call addEventListener twice, once with useCapture set to true, then again with useCapture set to false.
| |
priority:int (default = 0) — イベントリスナーの優先度レベルです。優先度は、符号付き 32 ビット整数で指定します。数値が大きくなるほど優先度が高くなります。優先度が n のすべてのリスナーは、優先度が n -1 のリスナーよりも前に処理されます。複数のリスナーに対して同じ優先度が設定されている場合、それらは追加された順番に処理されます。デフォルトの優先度は 0 です。
The priority level of the event listener. The priority is designated by a signed 32-bit integer. The higher the number, the higher the priority. All listeners with priority n are processed before listeners of priority n-1. If two or more listeners share the same priority, they are processed in the order in which they were added. The default priority is 0.
| |
useWeakReference:Boolean (default = false) — リスナーへの参照が強参照と弱参照のいずれであるかを判断します。デフォルトである強参照の場合は、リスナーのガベージコレクションが回避されます。弱参照では回避されません。
Determines whether the reference to the listener is strong or weak. A strong reference (the default) prevents your listener from being garbage-collected. A weak reference does not.
|
| completelyRemoveEventListener | () | method |
public function completelyRemoveEventListener(type:String, listener:Function, useCapture:Boolean = false):voidEventIntegrator インスタンスからリスナーを削除します。 このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができません。 Remove the listener from EventIntegrator instance. The listener removed by using this method can not re-register by restoreRemovedListeners() method.
Parameters
type:String — イベントのタイプです。
The type of event.
| |
listener:Function — 削除するリスナーオブジェクトです。
The listener object to remove.
| |
useCapture:Boolean (default = false) — リスナーが、キャプチャ段階、またはターゲットおよびバブリング段階に対して登録されたかどうかを示します。リスナーがキャプチャ段階だけでなくターゲット段階とバブリング段階にも登録されている場合は、removeEventListener() を 2 回呼び出して両方のリスナーを削除する必要があります。1 回は useCapture() を true に設定し、もう 1 回は useCapture() を false に設定する必要があります。
Specifies whether the listener was registered for the capture phase or the target and bubbling phases. If the listener was registered for both the capture phase and the target and bubbling phases, two calls to removeEventListener() are required to remove both, one call with useCapture() set to true, and another call with useCapture() set to false.
|
| contains | () | method |
override public function contains(child:DisplayObject):Boolean指定された表示オブジェクトが DisplayObjectContainer インスタンスの子であるか、オブジェクト自体であるかを指定します。 Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself.
Parameters
child:DisplayObject — テストする子 DisplayObject インスタンスです。
The child object to test.
|
Boolean —
child インスタンスが DisplayObjectContainer の子であるか、コンテナ自体である場合は true となります。そうでない場合は false となります。
true if the child object is a child of the DisplayObjectContainer or the container itself; otherwise false.
|
| dispatchEvent | () | method |
override public function dispatchEvent(event:Event):Booleanイベントをイベントフローに送出します。 Dispatches an event into the event flow.
Parameters
event:Event — イベントフローに送出されるイベントオブジェクトです。イベントが再度送出されると、イベントのクローンが自動的に作成されます。イベントが送出された後にそのイベントの target プロパティは変更できないため、再送出処理のためにはイベントの新しいコピーを作成する必要があります。
The Event object that is dispatched into the event flow. If the event is being redispatched, a clone of the event is created automatically. After an event is dispatched, its target property cannot be changed, so you must create a new copy of the event for redispatching to work.
|
Boolean —
値が true の場合、イベントは正常に送出されました。値が false の場合、イベントの送出に失敗したか、イベントで preventDefault() が呼び出されたことを示しています。
A value of true if the event was successfully dispatched. A value of false indicates failure or that preventDefault() was called on the event.
|
| getChildAt | () | method |
override public function getChildAt(index:int):DisplayObject指定のインデックス位置にある子表示オブジェクトオブジェクトを返します。 Returns the child display object instance that exists at the specified index.
Parameters
index:int — 子 DisplayObject インスタンスのインデックス位置です。
The index position of the child object.
|
DisplayObject —
指定されたインデックス位置にある子 DisplayObject インスタンスです。
The child display object at the specified index position.
|
| getChildByName | () | method |
override public function getChildByName(name:String):DisplayObject指定された名前に一致する子表示オブジェクトを返します。 Returns the child display object that exists with the specified name.
Parameters
name:String — 返される子 DisplayObject インスタンスの名前です。
The name of the child to return.
|
DisplayObject —
指定された名前を持つ子 DisplayObject インスタンスです。
The child display object with the specified name.
|
| getChildIndex | () | method |
override public function getChildIndex(child:DisplayObject):int子 DisplayObject インスタンスのインデックス位置を返します。 Returns the index position of a child DisplayObject instance.
Parameters
child:DisplayObject — 特定する子 DisplayObject インスタンスです。
The DisplayObject instance to identify.
|
int —
特定する子 DisplayObject インスタンスのインデックス位置です。
The index position of the child display object to identify.
|
| getInstanceById | () | method |
public function getInstanceById(id:String):DisplayObject指定された id と同じ値が設定されている IExDisplayObject インターフェイスを実装したインスタンスを返します。 Returns the instance implements the IExDisplayObject interface which is set the same value of the specified id.
Parameters
id:String — 条件となるストリングです。
The string that becomes a condition.
|
DisplayObject —
条件と一致するインスタンスです。
The instance match to the condition.
|
| getInstancesByGroup | () | method |
public function 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.
Parameters
group:String — 条件となるストリングです。
The string that becomes a condition.
| |
sort:Boolean (default = false) — 配列をソートするかどうかを指定します。
Specify if it sorts the array.
|
Array —
条件と一致するインスタンスです。
The instance match to the condition.
|
| getInstancesByRegExp | () | method |
public function 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.
Parameters
fieldName:String — 調査するフィールド名です。
The field name to check.
| |
pattern:RegExp — 条件となる正規表現です。
The regular expression to become a condition.
| |
sort:Boolean (default = false) — 配列をソートするかどうかを指定します。
Specify if it sorts the array.
|
Array —
条件と一致するインスタンスです。
The instance match to the condition.
|
| gotoAndPlay | () | method |
override public function gotoAndPlay(frame:Object, scenes:String = null):void指定されたフレームで SWF ファイルの再生を開始します。 Start the playback of the SWF file with the specified frame.
Parameters
frame:Object — 再生ヘッドの送り先となるフレーム番号を表す数値、または再生ヘッドの送り先となるフレームのラベルを表すストリングです。数値を指定する場合は、指定するシーンに対する相対数で指定します。シーンを指定しない場合は、再生するグローバルフレーム番号を決定するのに現在のシーンが関連付けられます。シーンを指定した場合、再生ヘッドは指定されたシーン内のフレーム番号にジャンプします。
The frame number or the frame name to move the playback head. When specify by frame count, specify the relative number to the specified scene. When do not specify the scene, the current scene will relate to decide the grobal frame number to playback. When specify the scene, the plyback head will jump to the frame number in specified scene.
| |
scenes:String (default = null) — 再生するシーンの名前です。このパラメータはオプションです。
The name of the scene to playback. This parameter is optinal.
|
| gotoAndStop | () | method |
override public function gotoAndStop(frame:Object, scenes:String = null):voidこのムービークリップの指定されたフレームに再生ヘッドを送り、そこで停止させます。 Set the palyback head to the specified frame of the MovieClip and stop at that point.
Parameters
frame:Object — 再生ヘッドの送り先となるフレーム番号を表す数値、または再生ヘッドの送り先となるフレームのラベルを表すストリングです。数値を指定する場合は、指定するシーンに対する相対数で指定します。シーンを指定しない場合は、送り先のグローバルフレーム番号を決定するのに現在のシーンが関連付けられます。シーンを指定した場合、再生ヘッドは指定されたシーン内のフレーム番号に送られて停止します。
The frame number or the frame name to move the playback head. When specify by frame count, specify the relative number to the specified scene. When do not specify the scene, the current scene will relate to decide the grobal frame number to playback. When specify the scene, the plyback head will jump to the frame number in specified scene.
| |
scenes:String (default = null) — シーン名です。このパラメータはオプションです。
The name of the scene to playback. This parameter is optinal.
|
| hasEventListener | () | method |
override public function hasEventListener(type:String):BooleanEventIntegrator インスタンスに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。 Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
Parameters
type:String — イベントのタイプです。
The type of event.
|
Boolean —
指定したタイプのリスナーが登録されている場合は true に、それ以外の場合は false になります。
A value of true if a listener of the specified type is registered; false otherwise.
|
| hasFrame | () | method |
public function hasFrame(frame:*):Boolean指定したフレームが存在しているかどうかを返します。 Returns if the specified frame exists.
Parameters
frame:* — 存在を確認するフレームです。
The frame to check.
|
Boolean —
存在していれば true 、なければ false です。
If exists return true, otherwise return false.
|
| nextFrame | () | method |
override public function nextFrame():void次のフレームに再生ヘッドを送り、停止します。 Move the playback head to the next frame and stop at that point.
| play | () | method |
override public function play():voidムービークリップのタイムライン内で再生ヘッドを移動します。 Moves the playback head in the timeline of the MovieClip.
| prevFrame | () | method |
override public function prevFrame():void直前のフレームに再生ヘッドを戻し、停止します。 Move the playback head to the previous frame and stop at that point.
| removeAllChildren | () | method |
public function removeAllChildren():voidDisplayObjectContainer に追加されている全ての子 DisplayObject インスタンスを削除します。 Removes the whole child DisplayObject instance added to the DisplayObjectContainer.
| removeAllListeners | () | method |
public function removeAllListeners(completely:Boolean = false):voidaddEventListener() メソッド経由で登録された全てのイベントリスナー登録を削除します。 完全に登録を削除しなかった場合には、削除されたイベントリスナーを restoreRemovedListeners() メソッドで復帰させることができます。 Remove the whole event listener registered via addEventListener() method. If do not remove completely, removed event listener can restore by restoreRemovedListeners() method.
Parameters
completely:Boolean (default = false) — 情報を完全に削除するかどうかです。
If it removes the information completely.
|
| removeChild | () | method |
override public function removeChild(child:DisplayObject):DisplayObjectDisplayObjectContainer インスタンスの子リストから指定の DisplayObject インスタンスを削除します。 Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
Parameters
child:DisplayObject — 対象の DisplayObjectContainer インスタンスの子から削除する DisplayObject インスタンスです。
The DisplayObject instance to remove.
|
DisplayObject —
child パラメータで渡す DisplayObject インスタンスです。
The DisplayObject instance that you pass in the child parameter.
|
| removeChildAt | () | method |
override public function removeChildAt(index:int):DisplayObjectDisplayObjectContainer の子リストの指定されたインデックス位置から子 DisplayObject インスタンスを削除します。 Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.
Parameters
index:int — 削除する DisplayObject の子インデックスです。
The child index of the DisplayObject to remove.
|
DisplayObject —
削除された DisplayObject インスタンスです。
The DisplayObject instance that was removed.
|
| removeEventListener | () | method |
override public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidEventIntegrator インスタンスからリスナーを削除します。 このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができます。 Remove the listener from EventIntegrator instance. The listener removed by using this method can re-register by restoreRemovedListeners() method.
Parameters
type:String — イベントのタイプです。
The type of event.
| |
listener:Function — 削除するリスナーオブジェクトです。
The listener object to remove.
| |
useCapture:Boolean (default = false) — リスナーが、キャプチャ段階、またはターゲットおよびバブリング段階に対して登録されたかどうかを示します。リスナーがキャプチャ段階だけでなくターゲット段階とバブリング段階にも登録されている場合は、removeEventListener() を 2 回呼び出して両方のリスナーを削除する必要があります。1 回は useCapture() を true に設定し、もう 1 回は useCapture() を false に設定する必要があります。
Specifies whether the listener was registered for the capture phase or the target and bubbling phases. If the listener was registered for both the capture phase and the target and bubbling phases, two calls to removeEventListener() are required to remove both, one call with useCapture() set to true, and another call with useCapture() set to false.
|
| restoreRemovedListeners | () | method |
public function restoreRemovedListeners():voidremoveEventListener() メソッド、または removeAllListeners() メソッド経由で削除された全てイベントリスナーを再登録します。 Re-register the whole event listener removed via removeEventListener() or removeAllListeners() method.
| setChildIndex | () | method |
override public function setChildIndex(child:DisplayObject, index:int):void表示オブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing child in the display object container.
Parameters
child:DisplayObject — インデックス番号を変更する子 DisplayObject インスタンスです。
The child DisplayObject instance for which you want to change the index number.
| |
index:int — child インスタンスの結果のインデックス番号です。
The resulting index number for the child display object.
|
| setChildIndexAbove | () | method |
public function setChildIndexAbove(child:DisplayObject, index:int):void表示オブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing child in the display object container.
Parameters
child:DisplayObject — インデックス番号を変更する子 DisplayObject インスタンスです。
The child DisplayObject instance for which you want to change the index number.
| |
index:int — child インスタンスの結果のインデックス番号です。
The resulting index number for the child display object.
|
| setProperties | () | method |
public function setProperties(props:Object):DisplayObjectインスタンスに対して、複数のプロパティを一括設定します。 Setup the several instance properties.
Parameters
props:Object — 設定したいプロパティを含んだオブジェクトです。
The object that contains the property to setup.
|
DisplayObject —
設定対象の DisplayObject インスタンスです。
The DisplayObject instance to setup.
|
| startDrag | () | method |
override public function startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void指定されたスプライトをユーザーがドラッグできるようにします。 Allow the user to drag the specified sprite.
Parameters
lockCenter:Boolean (default = false) — ドラッグ可能なスプライトが、マウス位置の中心にロックされるか (true)、ユーザーがスプライト上で最初にクリックした点にロックされるか (false) を指定します。
Specify the sprite which will be able to drag locks at the center of the mouse position(true) or the first point that the user clicked on the sprite(false).
| |
bounds:Rectangle (default = null) — Sprite の制限矩形を指定する Sprite の親の座標を基準にした相対値です。
Specify the limitation rectangle of the sprite. It is a relative value based on parents' coordinates of the sprite.
|
| stop | () | method |
override public function stop():voidムービークリップ内の再生ヘッドを停止します。 Stops the playback head in the MovieClip.
| stopDrag | () | method |
override public function stopDrag():voidstartDrag() メソッドを終了します。 Ends the startDrag() method.
| swapChildren | () | method |
override public function swapChildren(child1:DisplayObject, child2:DisplayObject):void指定された 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。 Swaps the z-order (front-to-back order) of the two specified child objects.
Parameters
child1:DisplayObject — 先頭の子 DisplayObject インスタンスです。
The first child object.
| |
child2:DisplayObject — 2 番目の子 DisplayObject インスタンスです。
The second child object.
|
| swapChildrenAt | () | method |
override public function 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.
Parameters
index1:int — 最初の子 DisplayObject インスタンスのインデックス位置です。
The index position of the first child object.
| |
index2:int — 2 番目の子 DisplayObject インスタンスのインデックス位置です。
The index position of the second child object.
|
| switchAtPlaying | () | method |
public function switchAtPlaying():voidムービークリップの再生状態に応じて、再生もしくは停止します。 Playback or stops according to the playback state of the MovieClip.
| toBitmapData | () | method |
public function toBitmapData(transparent:Boolean = true, fillColor:uint = 0xFFFFFFFF):BitmapData指定されたオブジェクトの BitmapData 表現を返します。 Returns the BitmapData representation of the specified object.
Parameters
transparent:Boolean (default = true) — ビットマップイメージがピクセル単位の透明度をサポートするかどうかを指定します。デフォルト値は true です (透明)。完全に透明なビットマップを作成するには、transparent パラメータの値を true に、fillColor パラメータの値を 0x00000000 (または 0) に設定します。transparent プロパティを false に設定すると、レンダリングのパフォーマンスが若干向上することがあります。
Specifies whether the bitmap image supports per-pixel transparency. The default value is true (transparent). To create a fully transparent bitmap, set the value of the transparent parameter to true and the value of the fillColor parameter to 0x00000000 (or to 0). Setting the transparent property to false can result in minor improvements in rendering performance.
| |
fillColor:uint (default = 0xFFFFFFFF) — ビットマップイメージ領域を塗りつぶすのに使用する 32 ビット ARGB カラー値です。デフォルト値は 0xFFFFFFFF (白) です。
A 32-bit ARGB color value that you use to fill the bitmap image area.
|
BitmapData —
オブジェクトの BitmapData 表現です。
A BitmapData representation of the object.
|
| toString | () | method |
override public function toString():String指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ReturnsString —
オブジェクトのストリング表現です。
A string representation of the object.
|
| willTrigger | () | method |
override public function willTrigger(type:String):Boolean指定されたイベントタイプについて、この EventIntegrator インスタンスまたはその祖先にイベントリスナーが登録されているかどうかを確認します。 Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
Parameters
type:String — イベントのタイプです。
The type of event.
|
Boolean —
指定したタイプのリスナーがトリガされた場合は true に、それ以外の場合は false になります。
A value of true if a listener of the specified type will be triggered; false otherwise.
|