| Package | jp.progression.casts |
| Class | public class CastButton |
| Inheritance | CastButton ExMovieClip flash.display.MovieClip |
| Implements | jp.progression.core.impls.ICastButton, jp.progression.core.impls.IManageable |
| Subclasses | ButtonBase |
// CastButton インスタンスを作成する
var cast:CastButton = new CastButton();
cast.graphics.beginFill( 0x000000 );
cast.graphics.drawRect( 0, 0, 100, 100 );
cast.graphics.endFill();
// クリック時の移動先を設定する
cast.sceneId = new SceneId( "/index" );
// 画面設置時のイベントを設定する
cast.onCastAdded = function():void {
trace( "表示されました" );
};
cast.onCastRemoved = function():void {
trace( "消去されました" );
};
// SerialList コマンドを実行する
new SerialList( null,
// 画面に表示する
new AddChild( this, cast ),
// 画面から消去する
new RemoveChild( this, cast )
).execute();
See also
| Property | Defined by | ||
|---|---|---|---|
| accessKey : String
ボタンの機能をキーボードから使用するためのアクセスキーを取得または設定します。
設定できるキーはアルファベットの A ~ Z までの値です。
| CastButton | ||
| activatedButtons : Array [static][read-only]
現在、ステージ上に設置されているボタンを含む配列を取得します。
| CastButton | ||
| buttonMode : Boolean
このスプライトのボタンモードを指定します。
Specifies the button mode of this sprite.
| CastButton | ||
![]() | children : Array
子ディスプレイオブジェクトが保存されている配列です。
インデックス値が断続的に指定可能であるため、getChildAt() ではなくこのプロパティを使用して子ディスプレイオブジェクト走査を行います。
この配列を操作することで元の配列を変更することはできません。
The array that saves child display objects.
| ExMovieClip | |
![]() | className : String
インスタンスのクラス名を取得します。
Indicates the instance className of the IExDisplayObject.
| ExMovieClip | |
| contextMenu : ContextMenu
このオブジェクトに関連付けられたコンテキストメニューを指定します。
Specifies the context menu associated with this object.
| CastButton | ||
| executor : ExecutorObject
[read-only]
関連付けられている ExecutorObject インスタンスを取得します。
| CastButton | ||
![]() | group : String
インスタンスのグループ名を取得または設定します。
Indicates the instance group of the IExDisplayObject.
| ExMovieClip | |
| href : String
ボタンがクリックされた時の移動先の URL を取得または設定します。
sceneId プロパティと href プロパティが両方とも設定されている場合には、href プロパティの設定が優先されます。
| CastButton | ||
![]() | 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 | |
| isMouseDown : Boolean [read-only]
CastButton インスタンスでポインティングデバイスのボタンを押されているかどうかを取得します。
| CastButton | ||
![]() | isPlaying : Boolean
ムービークリップのタイムライン内で再生ヘッドの移動処理が行われているかどうかを取得します。
Returns if the movement processing of the playback head is executing in the timeline of the MovieClip.
| ExMovieClip | |
| isRollOver : Boolean [read-only]
CastButton インスタンスにポインティングデバイスが合わされているかどうかを取得します。
| CastButton | ||
| manager : Progression
[read-only]
関連付けられている Progression インスタンスを取得します。
| CastButton | ||
| mouseEventEnabled : Boolean
マウス状態に応じて Executor を使用した処理を行うかどうかを取得または設定します。
| CastButton | ||
| onCastAdded : Function
キャストオブジェクトが CastEvent.CAST_ADDED イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastButton | ||
| onCastMouseDown : Function
キャストオブジェクトが CastMouseEvent.CAST_MOUSE_DOWN イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastButton | ||
| onCastMouseUp : Function
キャストオブジェクトが CastMouseEvent.CAST_MOUSE_UP イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastButton | ||
| onCastRemoved : Function
キャストオブジェクトが CastEvent.CAST_REMOVED イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastButton | ||
| onCastRollOut : Function
キャストオブジェクトが CastMouseEvent.CAST_ROLL_OUT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastButton | ||
| onCastRollOver : Function
キャストオブジェクトが CastMouseEvent.CAST_ROLL_OVER イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastButton | ||
| sceneId : SceneId
ボタンがクリックされた時の移動先を示すシーン識別子を取得または設定します。
sceneId プロパティと href プロパティが両方とも設定されている場合には、href プロパティの設定が優先されます。
| CastButton | ||
| self : CastButton
[read-only]
自身の参照を取得します。
| CastButton | ||
| state : int [read-only]
ボタンの状態を取得します。
| CastButton | ||
| toolTip : IToolTip
関連付けられている IToolTip インスタンスを取得します。
| CastButton | ||
| windowTarget : String
ボタンがクリックされた時の移動先を開くウィンドウ名を取得または設定します。
| CastButton | ||
| Method | Defined by | ||
|---|---|---|---|
|
CastButton(initObject:Object = null)
新しい CastButton インスタンスを作成します。
Creates a new CastButton object.
| CastButton | ||
![]() |
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 | |
|
addCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。
追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。
このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
| CastButton | ||
|
clearCommand(completely:Boolean = false):void
登録されている Command インスタンスを削除します。
このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
| CastButton | ||
|
dispatchEvent(event:Event):Boolean
イベントをイベントフローに送出します。
Dispatches an event into the event flow.
| CastButton | ||
|
dispose():void
保持しているデータを解放します。
| CastButton | ||
![]() |
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 | |
|
insertCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをすでにリストに登録され、実行中の Command インスタンスの次の位置に追加します。
追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。
このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
| CastButton | ||
|
navigateTo(location:*, window:String = null):void
指定されたシーン識別子、または URL の示す先に移動します。
引数が省略された場合には、あらかじめ CastButton インスタンスに指定されている sceneId プロパティ、 href プロパティが示す先に移動します。
| CastButton | ||
![]() |
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.
| CastButton | ||
|
updateManager():Boolean
マネージャーオブジェクトとの関連付けを更新します。
| CastButton | ||
| Method | Defined by | ||
|---|---|---|---|
|
atCastAdded():void
キャストオブジェクトが CastEvent.CAST_ADDED イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastButton | ||
|
atCastMouseDown():void
キャストオブジェクトが CastMouseEvent.CAST_MOUSE_DOWN イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドで。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastButton | ||
|
atCastMouseUp():void
キャストオブジェクトが CastMouseEvent.CAST_MOUSE_UP イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastButton | ||
|
atCastRemoved():void
キャストオブジェクトが CastEvent.CAST_REMOVED イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastButton | ||
|
atCastRollOut():void
キャストオブジェクトが CastMouseEvent.CAST_ROLL_OUT イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastButton | ||
|
atCastRollOver():void
キャストオブジェクトが CastMouseEvent.CAST_ROLL_OVER イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastButton | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| IExecutable オブジェクトが AddChild コマンド、または AddChildAt コマンド経由で表示リストに追加された場合に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 | CastButton | |||
| CastEvent.CAST_ADDED イベント中に実行された非同期処理が完了した場合に送出されます。 | CastButton | |||
| Flash Player ウィンドウの CastButton インスタンスの上でユーザーがポインティングデバイスのボタンを押すと送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 | CastButton | |||
| CastMouseEvent.CAST_MOUSE_DOWN イベント中に実行された非同期処理が完了した場合に送出されます。 | CastButton | |||
| ユーザーが CastButton インスタンスからポインティングデバイスを離したときに送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 | CastButton | |||
| CastMouseEvent.CAST_MOUSE_UP イベント中に実行された非同期処理が完了した場合に送出されます。 | CastButton | |||
| ボタンが移動処理を開始する直前に送出されます。 | CastButton | |||
| IExecutable オブジェクトが RemoveChild コマンド、または RemoveAllChild コマンド経由で表示リストから削除された場合に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 | CastButton | |||
| CastEvent.CAST_REMOVED イベント中に実行された非同期処理が完了した場合に送出されます。 | CastButton | |||
| ユーザーが CastButton インスタンスからポインティングデバイスを離したときに送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 | CastButton | |||
| CastMouseEvent.CAST_ROLL_OUT イベント中に実行された非同期処理が完了した場合に送出されます。 | CastButton | |||
| ユーザーが CastButton インスタンスにポインティングデバイスを合わせたときに送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 | CastButton | |||
| CastMouseEvent.CAST_ROLL_OVER イベント中に実行された非同期処理が完了した場合に送出されます。 | CastButton | |||
| ボタンの状態が変更された場合に送出されます。 | CastButton | |||
| 非同期処理中にエラーが発生した場合に送出されます。 | CastButton | |||
| Progression インスタンスとの関連付けがアクティブになったときに送出されます。 | CastButton | |||
| Progression インスタンスとの関連付けが非アクティブになったときに送出されます。 | CastButton | |||
| accessKey | property |
accessKey:String [read-write]ボタンの機能をキーボードから使用するためのアクセスキーを取得または設定します。 設定できるキーはアルファベットの A ~ Z までの値です。
Implementation public function get accessKey():String
public function set accessKey(value:String):void
See also
| activatedButtons | property |
activatedButtons:Array [read-only]現在、ステージ上に設置されているボタンを含む配列を取得します。
Implementation public static function get activatedButtons():Array
| buttonMode | property |
buttonMode:Boolean [read-write]このスプライトのボタンモードを指定します。 Specifies the button mode of this sprite.
Implementation public function get buttonMode():Boolean
public function set buttonMode(value:Boolean):void
| contextMenu | property |
contextMenu:ContextMenu [read-write]このオブジェクトに関連付けられたコンテキストメニューを指定します。 Specifies the context menu associated with this object.
Implementation public function get contextMenu():ContextMenu
public function set contextMenu(value:ContextMenu):void
| executor | property |
executor:ExecutorObject [read-only]関連付けられている ExecutorObject インスタンスを取得します。
Implementation public function get executor():ExecutorObject
See also
| href | property |
href:String [read-write]ボタンがクリックされた時の移動先の URL を取得または設定します。 sceneId プロパティと href プロパティが両方とも設定されている場合には、href プロパティの設定が優先されます。
Implementation public function get href():String
public function set href(value:String):void
See also
| isMouseDown | property |
isMouseDown:Boolean [read-only]CastButton インスタンスでポインティングデバイスのボタンを押されているかどうかを取得します。
Implementation public function get isMouseDown():Boolean
| isRollOver | property |
isRollOver:Boolean [read-only]CastButton インスタンスにポインティングデバイスが合わされているかどうかを取得します。
Implementation public function get isRollOver():Boolean
| manager | property |
manager:Progression [read-only]関連付けられている Progression インスタンスを取得します。
Implementation public function get manager():Progression
| mouseEventEnabled | property |
mouseEventEnabled:Boolean [read-write]マウス状態に応じて Executor を使用した処理を行うかどうかを取得または設定します。
Implementation public function get mouseEventEnabled():Boolean
public function set mouseEventEnabled(value:Boolean):void
| onCastAdded | property |
onCastAdded:Function [read-write]キャストオブジェクトが CastEvent.CAST_ADDED イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
Implementation public function get onCastAdded():Function
public function set onCastAdded(value:Function):void
See also
| onCastMouseDown | property |
onCastMouseDown:Function [read-write]キャストオブジェクトが CastMouseEvent.CAST_MOUSE_DOWN イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
Implementation public function get onCastMouseDown():Function
public function set onCastMouseDown(value:Function):void
See also
| onCastMouseUp | property |
onCastMouseUp:Function [read-write]キャストオブジェクトが CastMouseEvent.CAST_MOUSE_UP イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
Implementation public function get onCastMouseUp():Function
public function set onCastMouseUp(value:Function):void
See also
| onCastRemoved | property |
onCastRemoved:Function [read-write]キャストオブジェクトが CastEvent.CAST_REMOVED イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
Implementation public function get onCastRemoved():Function
public function set onCastRemoved(value:Function):void
See also
| onCastRollOut | property |
onCastRollOut:Function [read-write]キャストオブジェクトが CastMouseEvent.CAST_ROLL_OUT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
Implementation public function get onCastRollOut():Function
public function set onCastRollOut(value:Function):void
See also
| onCastRollOver | property |
onCastRollOver:Function [read-write]キャストオブジェクトが CastMouseEvent.CAST_ROLL_OVER イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
Implementation public function get onCastRollOver():Function
public function set onCastRollOver(value:Function):void
See also
| sceneId | property |
sceneId:SceneId [read-write]ボタンがクリックされた時の移動先を示すシーン識別子を取得または設定します。 sceneId プロパティと href プロパティが両方とも設定されている場合には、href プロパティの設定が優先されます。
Implementation public function get sceneId():SceneId
public function set sceneId(value:SceneId):void
See also
| self | property |
| state | property |
state:int [read-only]ボタンの状態を取得します。
Implementation public function get state():int
See also
| toolTip | property |
toolTip:IToolTip [read-write]関連付けられている IToolTip インスタンスを取得します。
Implementation public function get toolTip():IToolTip
public function set toolTip(value:IToolTip):void
| windowTarget | property |
windowTarget:String [read-write]ボタンがクリックされた時の移動先を開くウィンドウ名を取得または設定します。
Implementation public function get windowTarget():String
public function set windowTarget(value:String):void
See also
| CastButton | () | constructor |
public function CastButton(initObject:Object = null)新しい CastButton インスタンスを作成します。 Creates a new CastButton object.
ParametersinitObject:Object (default = null) — 設定したいプロパティを含んだオブジェクトです。
|
| addCommand | () | method |
public function addCommand(... commands):void特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
Parameters... commands — 登録したいコマンドを含む配列です。
|
See also
| atCastAdded | () | method |
protected function atCastAdded():voidキャストオブジェクトが CastEvent.CAST_ADDED イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
See also
| atCastMouseDown | () | method |
protected function atCastMouseDown():voidキャストオブジェクトが CastMouseEvent.CAST_MOUSE_DOWN イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドで。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
See also
| atCastMouseUp | () | method |
protected function atCastMouseUp():voidキャストオブジェクトが CastMouseEvent.CAST_MOUSE_UP イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
See also
| atCastRemoved | () | method |
protected function atCastRemoved():voidキャストオブジェクトが CastEvent.CAST_REMOVED イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
See also
| atCastRollOut | () | method |
protected function atCastRollOut():voidキャストオブジェクトが CastMouseEvent.CAST_ROLL_OUT イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
See also
| atCastRollOver | () | method |
protected function atCastRollOver():voidキャストオブジェクトが CastMouseEvent.CAST_ROLL_OVER イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
See also
| clearCommand | () | method |
public function clearCommand(completely:Boolean = false):void登録されている Command インスタンスを削除します。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
Parameterscompletely:Boolean (default = false) — true が設定されている場合は登録されている全てのコマンド登録を解除し、false の場合には現在処理中のコマンド以降の登録を解除します。
|
See also
| dispatchEvent | () | method |
public override function dispatchEvent(event:Event):Booleanイベントをイベントフローに送出します。 Dispatches an event into the event flow.
Parametersevent: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.
|
| dispose | () | method |
public function dispose():void保持しているデータを解放します。
| insertCommand | () | method |
public function insertCommand(... commands):void特定のイベントが送出された際に、自動実行させたい Command インスタンスをすでにリストに登録され、実行中の Command インスタンスの次の位置に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
Parameters... commands — 登録したいコマンドを含む配列です。
|
See also
| navigateTo | () | method |
public function navigateTo(location:*, window:String = null):void指定されたシーン識別子、または URL の示す先に移動します。 引数が省略された場合には、あらかじめ CastButton インスタンスに指定されている sceneId プロパティ、 href プロパティが示す先に移動します。
Parameterslocation:* — 移動先を示すシーン識別子、または URL です。
|
|
window:String (default = null) — location パラメータで指定されたドキュメントを表示するブラウザウィンドウまたは HTML フレームです。
|
See also
| toString | () | method |
public override function toString():String指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ReturnsString — オブジェクトのストリング表現です。
A string representation of the object.
|
| updateManager | () | method |
public function updateManager():Booleanマネージャーオブジェクトとの関連付けを更新します。
ReturnsBoolean — 関連付けが成功したら true を、それ以外は false を返します。
|
See also
| castAdded | event |
jp.progression.events.CastEvent
IExecutable オブジェクトが AddChild コマンド、または AddChildAt コマンド経由で表示リストに追加された場合に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| castAddedComplete | event |
jp.progression.events.CastEvent
CastEvent.CAST_ADDED イベント中に実行された非同期処理が完了した場合に送出されます。
| castMouseDown | event |
jp.progression.events.CastMouseEvent
Flash Player ウィンドウの CastButton インスタンスの上でユーザーがポインティングデバイスのボタンを押すと送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| castMouseDownComplete | event |
jp.progression.events.CastMouseEvent
CastMouseEvent.CAST_MOUSE_DOWN イベント中に実行された非同期処理が完了した場合に送出されます。
| castMouseUp | event |
jp.progression.events.CastMouseEvent
ユーザーが CastButton インスタンスからポインティングデバイスを離したときに送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| castMouseUpComplete | event |
jp.progression.events.CastMouseEvent
CastMouseEvent.CAST_MOUSE_UP イベント中に実行された非同期処理が完了した場合に送出されます。
| castNavigateBefore | event |
| castRemoved | event |
jp.progression.events.CastEvent
IExecutable オブジェクトが RemoveChild コマンド、または RemoveAllChild コマンド経由で表示リストから削除された場合に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| castRemovedComplete | event |
jp.progression.events.CastEvent
CastEvent.CAST_REMOVED イベント中に実行された非同期処理が完了した場合に送出されます。
| castRollOut | event |
jp.progression.events.CastMouseEvent
ユーザーが CastButton インスタンスからポインティングデバイスを離したときに送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| castRollOutComplete | event |
jp.progression.events.CastMouseEvent
CastMouseEvent.CAST_ROLL_OUT イベント中に実行された非同期処理が完了した場合に送出されます。
| castRollOver | event |
jp.progression.events.CastMouseEvent
ユーザーが CastButton インスタンスにポインティングデバイスを合わせたときに送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| castRollOverComplete | event |
jp.progression.events.CastMouseEvent
CastMouseEvent.CAST_ROLL_OVER イベント中に実行された非同期処理が完了した場合に送出されます。
| castStateChange | event |
| executeError | event |
| managerActivate | event |
| managerDeactivate | event |