Packagejp.progression.casts.buttons
Classpublic class ParentButton
InheritanceParentButton Inheritance ButtonBase Inheritance CastButton Inheritance ExMovieClip Inheritance flash.display.MovieClip

NextButton クラスは、現在のシーン位置を基準として親のシーンに相当する対象に移動するボタン機能を提供するコンポーネントクラスです。 このクラスを使用するためには、CommandExecutor が実装される環境設定(BasicAppConfig、WebConfig、等)を使用する必要があります。


Example
  // ParentButton インスタンスを作成する
  var cast:ParentButton = new ParentButton();
  cast.graphics.beginFill( 0x000000 );
  cast.graphics.drawRect( 0, 0, 100, 100 );
  cast.graphics.endFill();
  
  // 関連付けたいマネージャー識別子を設定する
  cast.managerId = "index";
  
  // SerialList コマンドを実行する
  new SerialList( null,
   // 画面に表示する
   new AddChild( this, cast ),
   
   // 画面から消去する
   new RemoveChild( this, cast )
  ).execute();
  



Public Properties
 PropertyDefined by
 InheritedaccessKey : String
ボタンの機能をキーボードから使用するためのアクセスキーを取得または設定します。 設定できるキーはアルファベットの A ~ Z までの値です。
CastButton
 InheritedactivatedButtons : Array
[static] 現在、ステージ上に設置されているボタンを含む配列を取得します。
CastButton
 InheritedbuttonMode : Boolean
このスプライトのボタンモードを指定します。 Specifies the button mode of this sprite.
ButtonBase
 Inheritedchildren : Array
子ディスプレイオブジェクトが保存されている配列です。 インデックス値が断続的に指定可能であるため、getChildAt() ではなくこのプロパティを使用して子ディスプレイオブジェクト走査を行います。 この配列を操作することで元の配列を変更することはできません。 The array that saves child display objects.
ExMovieClip
 InheritedclassName : String
インスタンスのクラス名を取得します。 Indicates the instance className of the IExDisplayObject.
ExMovieClip
 Inheritedcomponent : IButtonComp
コンポーネントの実装として使用される場合の対象コンポーネントを取得します。
ButtonBase
 InheritedcontextMenu : ContextMenu
このオブジェクトに関連付けられたコンテキストメニューを指定します。 Specifies the context menu associated with this object.
CastButton
 Inheritedenforce : Boolean
移動する際、すでに移動プロセスが実行中である場合に、既存のプロセスを中断するかどうかを取得または設定します。
ButtonBase
 Inheritedexecutor : ExecutorObject
関連付けられている ExecutorObject インスタンスを取得します。
CastButton
 Inheritedgroup : String
インスタンスのグループ名を取得または設定します。 Indicates the instance group of the IExDisplayObject.
ExMovieClip
  href : String
ParentButton
 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
 InheritedisMouseDown : Boolean
CastButton インスタンスでポインティングデバイスのボタンを押されているかどうかを取得します。
CastButton
 InheritedisPlaying : Boolean
ムービークリップのタイムライン内で再生ヘッドの移動処理が行われているかどうかを取得します。 Returns if the movement processing of the playback head is executing in the timeline of the MovieClip.
ExMovieClip
 InheritedisRollOver : Boolean
CastButton インスタンスにポインティングデバイスが合わされているかどうかを取得します。
CastButton
 Inheritedmanager : Progression
関連付けられている Progression インスタンスを取得します。
CastButton
  managerId : String
関連付けたい Progression 識別子を示すストリングを取得または設定します。
ParentButton
 InheritedmouseEventEnabled : Boolean
マウス状態に応じて Executor を使用した処理を行うかどうかを取得または設定します。
CastButton
 InheritedonCastAdded : Function
キャストオブジェクトが CastEvent.CAST_ADDED イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
CastButton
 InheritedonCastMouseDown : Function
キャストオブジェクトが CastMouseEvent.CAST_MOUSE_DOWN イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
CastButton
 InheritedonCastMouseUp : Function
キャストオブジェクトが CastMouseEvent.CAST_MOUSE_UP イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
CastButton
 InheritedonCastRemoved : Function
キャストオブジェクトが CastEvent.CAST_REMOVED イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
CastButton
 InheritedonCastRollOut : Function
キャストオブジェクトが CastMouseEvent.CAST_ROLL_OUT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
CastButton
 InheritedonCastRollOver : Function
キャストオブジェクトが CastMouseEvent.CAST_ROLL_OVER イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
CastButton
  sceneId : SceneId
ParentButton
 Inheritedself : CastButton
自身の参照を取得します。
CastButton
 Inheritedstate : int
ボタンの状態を取得します。
CastButton
 InheritedtoolTip : IToolTip
関連付けられている IToolTip インスタンスを取得します。
CastButton
 InheriteduseChildIndexer : Boolean
ExMovieClip
  useTopKey : Boolean
キーボードの上矢印キーを押した際にボタンを有効化するかどうかを取得または設定します。
ParentButton
 InheritedwindowTarget : String
ボタンがクリックされた時の移動先を開くウィンドウ名を取得または設定します。
CastButton
Public Methods
 MethodDefined by
  
ParentButton(initObject:Object = null)
新しい ParentButton インスタンスを作成します。 Creates a new ParentButton object.
ParentButton
 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
addCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
CastButton
 Inherited
clearCommand(completely:Boolean = false):void
登録されている Command インスタンスを削除します。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
CastButton
 Inherited
dispatchEvent(event:Event):Boolean
イベントをイベントフローに送出します。 Dispatches an event into the event flow.
CastButton
 Inherited
dispose():void
保持しているデータを解放します。
CastButton
 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
insertCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをすでにリストに登録され、実行中の Command インスタンスの次の位置に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
CastButton
 Inherited
navigateTo(location:*, window:String = null):void
指定されたシーン識別子、または URL の示す先に移動します。 引数が省略された場合には、あらかじめ CastButton インスタンスに指定されている sceneId プロパティ、 href プロパティが示す先に移動します。
CastButton
 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
  
toString():String
指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ParentButton
 Inherited
updateManager():Boolean
マネージャーオブジェクトとの関連付けを更新します。
CastButton
Protected Methods
 MethodDefined by
 Inherited
atCastAdded():void
キャストオブジェクトが CastEvent.CAST_ADDED イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
CastButton
 Inherited
キャストオブジェクトが CastMouseEvent.CAST_MOUSE_DOWN イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドで。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
CastButton
 Inherited
キャストオブジェクトが CastMouseEvent.CAST_MOUSE_UP イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
CastButton
 Inherited
キャストオブジェクトが CastEvent.CAST_REMOVED イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
CastButton
 Inherited
キャストオブジェクトが CastMouseEvent.CAST_ROLL_OUT イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
CastButton
 Inherited
キャストオブジェクトが CastMouseEvent.CAST_ROLL_OVER イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
CastButton
Events
 EventSummaryDefined by
 Inherited IExecutable オブジェクトが AddChild コマンド、または AddChildAt コマンド経由で表示リストに追加された場合に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 CastButton
 Inherited CastEvent.CAST_ADDED イベント中に実行された非同期処理が完了した場合に送出されます。 CastButton
 Inherited Flash Player ウィンドウの CastButton インスタンスの上でユーザーがポインティングデバイスのボタンを押すと送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 CastButton
 Inherited CastMouseEvent.CAST_MOUSE_DOWN イベント中に実行された非同期処理が完了した場合に送出されます。 CastButton
 Inherited ユーザーが CastButton インスタンスからポインティングデバイスを離したときに送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 CastButton
 Inherited CastMouseEvent.CAST_MOUSE_UP イベント中に実行された非同期処理が完了した場合に送出されます。 CastButton
 Inherited ボタンが移動処理を開始する直前に送出されます。 CastButton
 Inherited IExecutable オブジェクトが RemoveChild コマンド、または RemoveAllChild コマンド経由で表示リストから削除された場合に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 CastButton
 Inherited CastEvent.CAST_REMOVED イベント中に実行された非同期処理が完了した場合に送出されます。 CastButton
 Inherited ユーザーが CastButton インスタンスからポインティングデバイスを離したときに送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 CastButton
 Inherited CastMouseEvent.CAST_ROLL_OUT イベント中に実行された非同期処理が完了した場合に送出されます。 CastButton
 Inherited ユーザーが CastButton インスタンスにポインティングデバイスを合わせたときに送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 CastButton
 Inherited CastMouseEvent.CAST_ROLL_OVER イベント中に実行された非同期処理が完了した場合に送出されます。 CastButton
 Inherited ボタンの状態が変更された場合に送出されます。 CastButton
 Inherited 非同期処理中にエラーが発生した場合に送出されます。 CastButton
 Inherited Progression インスタンスとの関連付けがアクティブになったときに送出されます。 CastButton
 Inherited Progression インスタンスとの関連付けが非アクティブになったときに送出されます。 CastButton
Public Constants
 ConstantDefined by
 InheritedACTION_DOWN : String = "down"
[static] アクションを DOWN 状態に指定します。
ButtonBase
 InheritedACTION_OVER : String = "over"
[static] アクションを OVER 状態に指定します。
ButtonBase
 InheritedACTION_UP : String = "up"
[static] アクションを UP 状態に指定します。
ButtonBase
 InheritedSTATE_CONTAIN : String = "contain"
[static] ステートを CONTAIN 状態に指定します。
ButtonBase
 InheritedSTATE_CURRENT : String = "current"
[static] ステートを CURRENT 状態に指定します。
ButtonBase
 InheritedSTATE_DISABLE : String = "disable"
[static] ステートを DISABLE 状態に指定します。
ButtonBase
 InheritedSTATE_NEUTRAL : String = "neutral"
[static] ステートを NEUTRAL 状態に指定します。
ButtonBase
Property detail
hrefproperty
href:String  [read-write]Implementation
    public function get href():String
    public function set href(value:String):void
managerIdproperty 
managerId:String  [read-write]

関連付けたい Progression 識別子を示すストリングを取得または設定します。

Implementation
    public function get managerId():String
    public function set managerId(value:String):void
sceneIdproperty 
sceneId:SceneId  [read-write]Implementation
    public function get sceneId():SceneId
    public function set sceneId(value:SceneId):void
useTopKeyproperty 
useTopKey:Boolean  [read-write]

キーボードの上矢印キーを押した際にボタンを有効化するかどうかを取得または設定します。

Implementation
    public function get useTopKey():Boolean
    public function set useTopKey(value:Boolean):void
Constructor detail
ParentButton()constructor
public function ParentButton(initObject:Object = null)

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

Parameters
initObject:Object (default = null)設定したいプロパティを含んだオブジェクトです。
Method detail
toString()method
public override function toString():String

指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.

Returns
Stringオブジェクトのストリング表現です。 A string representation of the object.