| Package | jp.progression.casts |
| Class | public class CastButton |
| Inheritance | CastButton ExMovieClip flash.display.MovieClip |
| Implements | ICastObject |
| Property | Defined By | ||
|---|---|---|---|
| accessKey : String
ボタンの機能をキーボードから使用するためのアクセスキーを取得または設定します。
設定できるキーはアルファベットの A ~ Z までの値です。
| CastButton | ||
| buttonEnabled : Boolean
ボタンモードを有効化するかどうかを取得または設定します。
| CastButton | ||
| buttonMode : Boolean [override] | CastButton | ||
![]() | 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 | |
| contextMenu : ContextMenu [override] | CastButton | ||
| eventHandlerEnabled : Boolean
オブジェクトのイベントハンドラメソッドを有効化するかどうかを指定します。
| CastButton | ||
| executor : CommandExecutor [read-only]
コマンドを実行する CommandExecutor インスタンスを取得します。
| 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 | |
| isChild : Boolean [read-only]
sceneId プロパティに設定されているシーン識別子の示すシーンと現在のシーンを比較して、自身が子シーンを示しているかどうかを取得します。
| CastButton | ||
| isCurrent : Boolean [read-only]
sceneId プロパティに設定されているシーン識別子の示すシーンと現在のシーンを比較して、自身がカレントシーンを示しているかどうかを取得します。
| CastButton | ||
![]() | isDragging : Boolean [read-only]
startDrag() メソッドを使用したドラッグ処理を行っている最中かどうかを取得します。
Returns if the drag process which uses startDrag() method is executing.
| ExMovieClip | |
| isMouseDown : Boolean [read-only]
CastButton インスタンスでポインティングデバイスのボタンを押されているかどうかを取得します。
| CastButton | ||
| isParent : Boolean [read-only]
sceneId プロパティに設定されているシーン識別子の示すシーンと現在のシーンを比較して、自身が親シーンを示しているかどうかを取得します。
| CastButton | ||
![]() | isPlaying : Boolean [read-only]
ムービークリップのタイムライン内で再生ヘッドの移動処理が行われているかどうかを取得します。
Returns if the movement processing of the playback head is executing in the timeline of the MovieClip.
| ExMovieClip | |
| isRollOver : Boolean [read-only]
CastButton インスタンスにポインティングデバイスが合わされているかどうかを取得します。
| CastButton | ||
| navigateURL : String [read-only]
現在のボタンの移動先 URL を示すストリングを取得します。
この値はブラウザ上で実行した際に sceneId プロパティと href プロパティの値から決定されます。
| CastButton | ||
| onCastAdded : Function | CastButton | ||
| onCastMouseDown : Function
CastButton インスタンスが CastMouseEvent.CAST_MOUSE_DOWN イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
| CastButton | ||
| onCastMouseUp : Function
CastButton インスタンスが CastMouseEvent.CAST_MOUSE_UP イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
| CastButton | ||
| onCastRemoved : Function | CastButton | ||
| onCastRollOut : Function
シーンオブジェクトが CastMouseEvent.CAST_ROLL_OUT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
| CastButton | ||
| onCastRollOver : Function
CastButton インスタンスが CastMouseEvent.CAST_ROLL_OVER イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
| CastButton | ||
| parallelMode : Boolean
CommandExecutor の実行方法を並列処理にするかどうかを取得または設定します。
| CastButton | ||
| progression : Progression [read-only]
関連付けられている Progression インスタンスを取得します。
| CastButton | ||
![]() | 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 | |
| sceneId : SceneId
ボタンがクリックされた時の移動先を示すシーン識別子を取得または設定します。
sceneId プロパティと href プロパティが両方とも設定されている場合には、href プロパティの設定が優先されます。
| CastButton | ||
| toolTip : ToolTip [read-only]
このオブジェクトに関連付けられている ToolTip インスタンスを取得します。
| CastButton | ||
| uiContextMenu : CastButtonContextMenu [read-only]
このオブジェクトに関連付けられている CastButtonContextMenu インスタンスを取得します。
| CastButton | ||
| useHandCursor : Boolean [override] | CastButton | ||
| windowTarget : String
ボタンがクリックされた時の移動先を開くウィンドウ名を取得または設定します。
この値が "_self" または null に設定されている場合には、現在のウィンドウを示します。
| CastButton | ||
| Method | Defined By | ||
|---|---|---|---|
CastButton(initObject:Object = null)
新しい CastButton インスタンスを作成します。
Creates a new CastButton object.
| CastButton | ||
![]() | 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 | |
addCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。
追加された Command インスタンスは、イベントが送出される直前に自動的に削除されます。
| CastButton | ||
![]() | 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 | |
clearCommand(completely:Boolean = false):void
登録されている Command インスタンスを削除します。
| CastButton | ||
![]() | 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 | |
insertCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをすでにリストに登録され、実行中の Command インスタンスの次の位置に追加します。
追加された Command インスタンスは、イベントが送出される直前に自動的に削除されます。
| CastButton | ||
navigateTo(location:* = null, windowTarget:String = null):void
指定されたシーン識別子、または URL に移動します。
引数が省略された場合には、予め CastButton インスタンスに指定されている sceneId プロパティまたは href プロパティが示す先に移動します。
| CastButton | ||
![]() | 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 | |
| Method | Defined By | ||
|---|---|---|---|
_onCastMouseDown():void
サブクラスで onCastMouseDown イベントハンドラメソッドの処理を override で実装したい場合に上書きします。
onCastMouseDown プロパティに、別のメソッドを設定された場合は無効化されます。
| CastButton | ||
_onCastMouseUp():void
サブクラスで onCastMouseUp イベントハンドラメソッドの処理を override で実装したい場合に上書きします。
onCastMouseUp プロパティに、別のメソッドを設定された場合は無効化されます。
| CastButton | ||
_onCastRollOut():void
サブクラスで onCastRollOut イベントハンドラメソッドの処理を override で実装したい場合に上書きします。
onCastRollOut プロパティに、別のメソッドを設定された場合は無効化されます。
| CastButton | ||
_onCastRollOver():void
サブクラスで onCastRollOver イベントハンドラメソッドの処理を override で実装したい場合に上書きします。
onCastRollOver プロパティに、別のメソッドを設定された場合は無効化されます。
| CastButton | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| オブジェクトの buttonEnabled プロパティの値が変更されたときに送出されます。 | CastButton | |||
| Flash Player ウィンドウの CastButton インスタンスの上でユーザーがポインティングデバイスのボタンを押すと送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。 Dispatched when a user presses the pointing device button over an CastButton instance. | CastButton | |||
| ユーザーが CastButton インスタンスからポインティングデバイスを離したときに送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。 Dispatched when a user releases the pointing device button over an CastButton instance. | CastButton | |||
| ユーザーが CastButton インスタンスからポインティングデバイスを離したときに送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。 Dispatched when the user moves a pointing device away from an CastButton instance. | CastButton | |||
| ユーザーが CastButton インスタンスにポインティングデバイスを合わせたときに送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。 Dispatched when the user moves a pointing device away from an CastButton instance. | CastButton | |||
| CastButton インスタンスと関連付けられた Progression インスタンスのシーン状態に対応して、ボタンの状態が変更されたときに送出されます。 | CastButton | |||
| CastButton インスタンスと Progression インスタンスとの関連付けが更新されたときに送出されます。 | CastButton | |||
| accessKey | property |
accessKey:Stringボタンの機能をキーボードから使用するためのアクセスキーを取得または設定します。 設定できるキーはアルファベットの A ~ Z までの値です。
public function get accessKey():String public function set accessKey(value:String):void| buttonEnabled | property |
buttonEnabled:Booleanボタンモードを有効化するかどうかを取得または設定します。
public function get buttonEnabled():Boolean public function set buttonEnabled(value:Boolean):void| buttonMode | property |
buttonMode:Boolean[override] public function get buttonMode():Boolean public function set buttonMode(value:Boolean):void| contextMenu | property |
contextMenu:ContextMenu[override] public function get contextMenu():ContextMenu public function set contextMenu(value:ContextMenu):void| eventHandlerEnabled | property |
eventHandlerEnabled:Booleanオブジェクトのイベントハンドラメソッドを有効化するかどうかを指定します。
public function get eventHandlerEnabled():Boolean public function set eventHandlerEnabled(value:Boolean):void| executor | property |
executor:CommandExecutor [read-only] コマンドを実行する CommandExecutor インスタンスを取得します。
public function get executor():CommandExecutor| href | property |
href:Stringボタンがクリックされた時の移動先の URL を取得または設定します。 sceneId プロパティと href プロパティが両方とも設定されている場合には、href プロパティの設定が優先されます。
public function get href():String public function set href(value:String):void| isChild | property |
isChild:Boolean [read-only] sceneId プロパティに設定されているシーン識別子の示すシーンと現在のシーンを比較して、自身が子シーンを示しているかどうかを取得します。
public function get isChild():Boolean| isCurrent | property |
isCurrent:Boolean [read-only] sceneId プロパティに設定されているシーン識別子の示すシーンと現在のシーンを比較して、自身がカレントシーンを示しているかどうかを取得します。
public function get isCurrent():Boolean| isMouseDown | property |
isMouseDown:Boolean [read-only] CastButton インスタンスでポインティングデバイスのボタンを押されているかどうかを取得します。
public function get isMouseDown():Boolean| isParent | property |
isParent:Boolean [read-only] sceneId プロパティに設定されているシーン識別子の示すシーンと現在のシーンを比較して、自身が親シーンを示しているかどうかを取得します。
public function get isParent():Boolean| isRollOver | property |
isRollOver:Boolean [read-only] CastButton インスタンスにポインティングデバイスが合わされているかどうかを取得します。
public function get isRollOver():Boolean| navigateURL | property |
navigateURL:String [read-only] 現在のボタンの移動先 URL を示すストリングを取得します。 この値はブラウザ上で実行した際に sceneId プロパティと href プロパティの値から決定されます。
public function get navigateURL():String| onCastAdded | property |
onCastAdded:Function public function get onCastAdded():Function public function set onCastAdded(value:Function):void| onCastMouseDown | property |
onCastMouseDown:FunctionCastButton インスタンスが CastMouseEvent.CAST_MOUSE_DOWN イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
public function get onCastMouseDown():Function public function set onCastMouseDown(value:Function):void| onCastMouseUp | property |
onCastMouseUp:FunctionCastButton インスタンスが CastMouseEvent.CAST_MOUSE_UP イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
public function get onCastMouseUp():Function public function set onCastMouseUp(value:Function):void| onCastRemoved | property |
onCastRemoved:Function public function get onCastRemoved():Function public function set onCastRemoved(value:Function):void| onCastRollOut | property |
onCastRollOut:Functionシーンオブジェクトが CastMouseEvent.CAST_ROLL_OUT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
public function get onCastRollOut():Function public function set onCastRollOut(value:Function):void| onCastRollOver | property |
onCastRollOver:FunctionCastButton インスタンスが CastMouseEvent.CAST_ROLL_OVER イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
public function get onCastRollOver():Function public function set onCastRollOver(value:Function):void| parallelMode | property |
parallelMode:BooleanCommandExecutor の実行方法を並列処理にするかどうかを取得または設定します。
public function get parallelMode():Boolean public function set parallelMode(value:Boolean):void| progression | property |
progression:Progression [read-only] 関連付けられている Progression インスタンスを取得します。
public function get progression():Progression| sceneId | property |
sceneId:SceneIdボタンがクリックされた時の移動先を示すシーン識別子を取得または設定します。 sceneId プロパティと href プロパティが両方とも設定されている場合には、href プロパティの設定が優先されます。
public function get sceneId():SceneId public function set sceneId(value:SceneId):void| toolTip | property |
toolTip:ToolTip [read-only] このオブジェクトに関連付けられている ToolTip インスタンスを取得します。
public function get toolTip():ToolTip| uiContextMenu | property |
uiContextMenu:CastButtonContextMenu [read-only] このオブジェクトに関連付けられている CastButtonContextMenu インスタンスを取得します。
public function get uiContextMenu():CastButtonContextMenu| useHandCursor | property |
useHandCursor:Boolean[override] public function get useHandCursor():Boolean public function set useHandCursor(value:Boolean):void| windowTarget | property |
windowTarget:Stringボタンがクリックされた時の移動先を開くウィンドウ名を取得または設定します。 この値が "_self" または null に設定されている場合には、現在のウィンドウを示します。
public function get windowTarget():String public function set windowTarget(value:String):void| CastButton | () | Constructor |
public function CastButton(initObject:Object = null)新しい CastButton インスタンスを作成します。 Creates a new CastButton object.
ParametersinitObject:Object (default = null) — 設定したいプロパティを含んだオブジェクトです。
|
| _onCastMouseDown | () | method |
protected function _onCastMouseDown():voidサブクラスで onCastMouseDown イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onCastMouseDown プロパティに、別のメソッドを設定された場合は無効化されます。
| _onCastMouseUp | () | method |
protected function _onCastMouseUp():voidサブクラスで onCastMouseUp イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onCastMouseUp プロパティに、別のメソッドを設定された場合は無効化されます。
| _onCastRollOut | () | method |
protected function _onCastRollOut():voidサブクラスで onCastRollOut イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onCastRollOut プロパティに、別のメソッドを設定された場合は無効化されます。
| _onCastRollOver | () | method |
protected function _onCastRollOver():voidサブクラスで onCastRollOver イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onCastRollOver プロパティに、別のメソッドを設定された場合は無効化されます。
| addCommand | () | method |
public function addCommand(... commands):void特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に削除されます。
Parameters
... commands — 登録したいコマンドを含む配列です。
|
| clearCommand | () | method |
public function clearCommand(completely:Boolean = false):void登録されている Command インスタンスを削除します。
Parameters
completely:Boolean (default = false) — true が設定されている場合は登録されている全てのコマンド登録を解除し、false の場合には現在処理中のコマンド以降の登録を解除します。
|
| insertCommand | () | method |
public function insertCommand(... commands):void特定のイベントが送出された際に、自動実行させたい Command インスタンスをすでにリストに登録され、実行中の Command インスタンスの次の位置に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に削除されます。
Parameters
... commands — 登録したいコマンドを含む配列です。
|
| navigateTo | () | method |
public function navigateTo(location:* = null, windowTarget:String = null):void指定されたシーン識別子、または URL に移動します。 引数が省略された場合には、予め CastButton インスタンスに指定されている sceneId プロパティまたは href プロパティが示す先に移動します。
Parameters
location:* (default = null) — 移動先を示すシーン識別子、または URL です。
| |
windowTarget:String (default = null) — location パラメータで指定されたドキュメントを表示するブラウザウィンドウまたは HTML フレームです。
|
| buttonEnabledChange | Event |
jp.progression.events.CastEventjp.progression.events.CastEvent.BUTTON_ENABLED_CHANGEオブジェクトの buttonEnabled プロパティの値が変更されたときに送出されます。
buttonEnabledChange イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.BUTTON_ENABLED_CHANGE constant defines the value of the type property of an buttonEnabledChange event object.| castMouseDown | Event |
jp.progression.events.CastMouseEventjp.progression.events.CastMouseEvent.CAST_MOUSE_DOWNFlash Player ウィンドウの CastButton インスタンスの上でユーザーがポインティングデバイスのボタンを押すと送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。 Dispatched when a user presses the pointing device button over an CastButton instance.
castMouseDown イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_MOUSE_DOWN constant defines the value of the type property of an castMouseDown event object.| castMouseUp | Event |
jp.progression.events.CastMouseEventjp.progression.events.CastMouseEvent.CAST_MOUSE_UPユーザーが CastButton インスタンスからポインティングデバイスを離したときに送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。 Dispatched when a user releases the pointing device button over an CastButton instance.
castMouseUp イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_MOUSE_UP constant defines the value of the type property of an castMouseUp event object.| castRollOut | Event |
jp.progression.events.CastMouseEventjp.progression.events.CastMouseEvent.CAST_ROLL_OUTユーザーが CastButton インスタンスからポインティングデバイスを離したときに送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。 Dispatched when the user moves a pointing device away from an CastButton instance.
castRollOut イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_ROLL_OUT constant defines the value of the type property of an castRollOut event object.| castRollOver | Event |
jp.progression.events.CastMouseEventjp.progression.events.CastMouseEvent.CAST_ROLL_OVERユーザーが CastButton インスタンスにポインティングデバイスを合わせたときに送出されます。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。 Dispatched when the user moves a pointing device away from an CastButton instance.
castRollOver イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_ROLL_OVER constant defines the value of the type property of an castRollOver event object.| statusChange | Event |
jp.progression.events.CastEventjp.progression.events.CastEvent.STATUS_CHANGECastButton インスタンスと関連付けられた Progression インスタンスのシーン状態に対応して、ボタンの状態が変更されたときに送出されます。
statusChange イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.STATUS_CHANGE constant defines the value of the type property of an statusChange event object.| update | Event |
jp.progression.events.CastEventjp.progression.events.CastEvent.UPDATECastButton インスタンスと Progression インスタンスとの関連付けが更新されたときに送出されます。
update イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.UPDATE constant defines the value of the type property of an update event object.
// CastButton を作成する
var cast:CastButton = new CastButton();
cast.graphics.beginFill( 0xFF000000 );
cast.graphics.drawRect( 0, 0, 100, 100 );
cast.graphics.endFill();
// Progression インスタンスを作成する
var prog:Progression = new Progression( "index", stage );
// ルートシーンのイベントハンドラメソッドを設定します。
prog.root.onLoad = function():void {
// コマンドを実行する
this.addCommand(
// CastButton を画面に表示する
new AddChild( prog.container, cast )
);
};
prog.root.onInit = function():void {
// コマンドを実行する
this.addCommand(
// CastButton を画面から削除する
new RemoveChild( prog.container, cast )
);
};
// ルートシーンに移動します。
prog.goto( new SceneId( "/index" ) );