| Package | jp.progression |
| Class | public class Progression |
| Inheritance | Progression EventIntegrator flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
| activatedLicenseType : String [static] [read-only]
適用されているライセンスの種類を取得または設定します。
| Progression | ||
| autoLock : Boolean
コマンド処理を実行中に lock プロパティの値を自動的に有効化するかどうかを設定または取得します。
この設定が有効である場合には、コマンド処理が開始されると lock プロパティが true に、処理完了後に false となります。
| Progression | ||
| container : Container [read-only]
インスタンスに関連付けられている Container インスタンスを取得します。
| Progression | ||
| current : SceneObject [read-only]
カレントである SceneObject インスタンスを取得します。
| Progression | ||
| departedSceneId : SceneId [read-only]
出発地となるシーン識別子を取得します。
| Progression | ||
| destinedSceneId : SceneId [read-only]
目的地となるシーン識別子を取得します。
| Progression | ||
| eventHandlerEnabled : Boolean
オブジェクトのイベントハンドラメソッドを有効化するかどうかを指定します。
| Progression | ||
| eventType : String [read-only]
現在表示中のシーンで発生しているイベントタイプを取得します。
| Progression | ||
| firstSceneId : SceneId [read-only]
インスタンスを作成した際の状況から判断された、最初に表示するシーンに適したシーン識別子を取得します。
この値はブラウザ上で再生させた場合に、コンテンツが設置されている URL のフラグメント値から自動的に設定されます。
その他の状況で再生された場合には、常にルートシーンのシーン識別子が設定されます。
| Progression | ||
| group : String
インスタンスのグループ名を取得または設定します。
Indicates the instance group of the Progression.
| Progression | ||
| id : String [read-only]
インスタンスの識別子を取得します。
Indicates the instance id of the Progression.
| Progression | ||
| interrupting : Boolean [read-only]
中断処理中かどうかを取得します。
| Progression | ||
| keyboard : KeyboardManager [read-only]
キーボード操作に関連する設定を行う KeyboardManager インスタンスを取得します。
| Progression | ||
| lock : Boolean
コマンド処理を実行中に、外部からの goto() メソッドの呼び出しを有効にするかどうかを設定または取得します。
このプロパティを設定すると autoLock プロパティが強制的に false に設定されます。
| Progression | ||
| onProcessComplete : Function
シーンオブジェクトが ProcessEvent.PROCESS_COMPLETE イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
| Progression | ||
| onProcessError : Function
シーンオブジェクトが ProcessEvent.PROCESS_ERROR イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
| Progression | ||
| onProcessEvent : Function
シーンオブジェクトが ProcessEvent.PROCESS_EVENT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
| Progression | ||
| onProcessInterrupt : Function
シーンオブジェクトが ProcessEvent.PROCESS_INTERRUPT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
| Progression | ||
| onProcessScene : Function
シーンオブジェクトが ProcessEvent.PROCESS_SCENE イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
| Progression | ||
| onProcessStart : Function
シーンオブジェクトが ProcessEvent.PROCESS_START イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
| Progression | ||
| root : SceneObject [read-only]
制御対象のシーンリストのツリー構造部分の一番上にある SceneObject インスタンスを取得または設定します。
| Progression | ||
| running : Boolean [read-only]
現在の処理状態を取得します。
| Progression | ||
| stage : Stage [read-only]
インスタンスに関連付けられている Stage インスタンスを取得します。
| Progression | ||
| sync : Boolean
ブラウザ上でコンテンツを実行している場合に、URL と Progression インスタンスのシーンを同期させるかどうかを取得または設定します。
同一コンテンツ上で有効化できる Progression インスタンスは 1 つのみであり、複数に対して有効化を試みた場合、最後に有効化された Progression インスタンス以外の sync プロパティは自動的に false に設定されます。
| Progression | ||
| uiContextMenu : CastObjectContextMenu [static] [read-only]
背景に関連付けられている CastObjectContextMenu インスタンスを取得します。
| Progression | ||
| Method | Defined By | ||
|---|---|---|---|
Progression(id:String, stage:Stage = null, rootClass:Class = null)
新しい Progression インスタンスを作成します。
Creates a new Progression object.
| Progression | ||
![]() | 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. | EventIntegrator | |
![]() | 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. | EventIntegrator | |
![]() | completelyRemoveEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventIntegrator インスタンスからリスナーを削除します。
このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができません。
Remove the listener from EventIntegrator instance. | EventIntegrator | |
![]() | dispatchEvent(event:Event):Boolean [override]
イベントをイベントフローに送出します。
Dispatches an event into the event flow.
| EventIntegrator | |
getProgressionById(id:String):Progression
指定された id と同じ値が設定されている Progression インスタンスを返します。
| Progression | ||
指定された sceneId インスタンスの指し示す Progression インスタンスを返します。
| Progression | ||
getProgressionsByGroup(group:String, sort:Boolean = false):Array
指定された group と同じ値を持つ Progression インスタンスを含む配列を返します。
| Progression | ||
getProgressionsByRegExp(fieldName:String, pattern:RegExp, sort:Boolean = false):Array
指定された fieldName が条件と一致する Progression インスタンスを含む配列を返します。
| Progression | ||
シーンを移動します。
| Progression | ||
![]() | hasEventListener(type:String):Boolean [override]
EventIntegrator インスタンスに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| EventIntegrator | |
initialize(activatedLicenseType:String):Boolean [static]
| Progression | ||
interrupt(enforced:Boolean = false):void
シーン移動処理を中断します。
| Progression | ||
![]() | removeAllListeners(completely:Boolean = false):void
addEventListener() メソッド経由で登録された全てのイベントリスナー登録を削除します。
完全に登録を削除しなかった場合には、削除されたイベントリスナーを restoreRemovedListeners() メソッドで復帰させることができます。
Remove the whole event listener registered via addEventListener() method. | EventIntegrator | |
![]() | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void [override]
EventIntegrator インスタンスからリスナーを削除します。
このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができます。
Remove the listener from EventIntegrator instance. | EventIntegrator | |
![]() | restoreRemovedListeners():void
removeEventListener() メソッド、または removeAllListeners() メソッド経由で削除された全てイベントリスナーを再登録します。
Re-register the whole event listener removed via removeEventListener() or removeAllListeners() method.
| EventIntegrator | |
setProperties(props:Object):Progression
インスタンスに対して、複数のプロパティを一括設定します。
| Progression | ||
toString():String [override]
指定されたオブジェクトのストリング表現を返します。
Returns the string representation of the specified object.
| Progression | ||
![]() | 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.
| EventIntegrator | |
| Method | Defined By | ||
|---|---|---|---|
_onProcessComplete():void
サブクラスで onProcessComplete イベントハンドラメソッドの処理を override で実装したい場合に上書きします。
onProcessComplete プロパティに、別のメソッドを設定された場合は無効化されます。
| Progression | ||
_onProcessError():void
サブクラスで onProcessError イベントハンドラメソッドの処理を override で実装したい場合に上書きします。
onProcessError プロパティに、別のメソッドを設定された場合は無効化されます。
| Progression | ||
_onProcessEvent():void
サブクラスで onProcessEvent イベントハンドラメソッドの処理を override で実装したい場合に上書きします。
onProcessEvent プロパティに、別のメソッドを設定された場合は無効化されます。
| Progression | ||
_onProcessInterrupt():void
サブクラスで onProcessInterrupt イベントハンドラメソッドの処理を override で実装したい場合に上書きします。
onProcessInterrupt プロパティに、別のメソッドを設定された場合は無効化されます。
| Progression | ||
_onProcessScene():void
サブクラスで onProcessScene イベントハンドラメソッドの処理を override で実装したい場合に上書きします。
onProcessScene プロパティに、別のメソッドを設定された場合は無効化されます。
| Progression | ||
_onProcessStart():void
サブクラスで onProcessStart イベントハンドラメソッドの処理を override で実装したい場合に上書きします。
onProcessStart プロパティに、別のメソッドを設定された場合は無効化されます。
| Progression | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| シーン移動処理が完了した場合に送出されます。 | Progression | |||
| シーン移動処理中に移動先のシーンが存在しなかった場合に送出されます。 | Progression | |||
| シーン移動処理中に対象シーンでイベントが発生した場合に送出されます。 | Progression | |||
| シーン移動処理が停止された場合に送出されます。 | Progression | |||
| シーン移動処理中に対象シーンが変更された場合に送出されます。 | Progression | |||
| シーン移動処理が開始された場合に送出されます。 | Progression | |||
| Constant | Defined By | ||
|---|---|---|---|
| AUTHOR : String = Copyright (C) 2007-2010 taka:nium.jp, All Rights Reserved. [static]
パッケージの制作者を取得します。
| Progression | ||
| NAME : String = Progression [static]
パッケージの名前を取得します。
| Progression | ||
| PLAYER_VERSION : Version [static]
対応している Flash Player のバージョンを取得します。
| Progression | ||
| URL : String = http://progression.jp/ [static]
パッケージの URL を取得します。
| Progression | ||
| VERSION : Version [static]
パッケージのバージョン情報を取得します。
| Progression | ||
| activatedLicenseType | property |
activatedLicenseType:String [read-only] 適用されているライセンスの種類を取得または設定します。
public static function get activatedLicenseType():String| autoLock | property |
autoLock:Booleanコマンド処理を実行中に lock プロパティの値を自動的に有効化するかどうかを設定または取得します。 この設定が有効である場合には、コマンド処理が開始されると lock プロパティが true に、処理完了後に false となります。
public function get autoLock():Boolean public function set autoLock(value:Boolean):void| container | property |
container:Container [read-only] インスタンスに関連付けられている Container インスタンスを取得します。
public function get container():Container| current | property |
current:SceneObject [read-only] カレントである SceneObject インスタンスを取得します。
public function get current():SceneObject| departedSceneId | property |
departedSceneId:SceneId [read-only] 出発地となるシーン識別子を取得します。
public function get departedSceneId():SceneId| destinedSceneId | property |
destinedSceneId:SceneId [read-only] 目的地となるシーン識別子を取得します。
public function get destinedSceneId():SceneId| eventHandlerEnabled | property |
eventHandlerEnabled:Booleanオブジェクトのイベントハンドラメソッドを有効化するかどうかを指定します。
public function get eventHandlerEnabled():Boolean public function set eventHandlerEnabled(value:Boolean):void| eventType | property |
eventType:String [read-only] 現在表示中のシーンで発生しているイベントタイプを取得します。
public function get eventType():String| firstSceneId | property |
firstSceneId:SceneId [read-only] インスタンスを作成した際の状況から判断された、最初に表示するシーンに適したシーン識別子を取得します。 この値はブラウザ上で再生させた場合に、コンテンツが設置されている URL のフラグメント値から自動的に設定されます。 その他の状況で再生された場合には、常にルートシーンのシーン識別子が設定されます。
public function get firstSceneId():SceneId| group | property |
group:Stringインスタンスのグループ名を取得または設定します。 Indicates the instance group of the Progression.
public function get group():String public function set group(value:String):void| id | property |
id:String [read-only] インスタンスの識別子を取得します。 Indicates the instance id of the Progression.
public function get id():String| interrupting | property |
interrupting:Boolean [read-only] 中断処理中かどうかを取得します。
public function get interrupting():Boolean| keyboard | property |
keyboard:KeyboardManager [read-only] キーボード操作に関連する設定を行う KeyboardManager インスタンスを取得します。
public function get keyboard():KeyboardManager| lock | property |
lock:Booleanコマンド処理を実行中に、外部からの goto() メソッドの呼び出しを有効にするかどうかを設定または取得します。 このプロパティを設定すると autoLock プロパティが強制的に false に設定されます。
public function get lock():Boolean public function set lock(value:Boolean):void| onProcessComplete | property |
onProcessComplete:Functionシーンオブジェクトが ProcessEvent.PROCESS_COMPLETE イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
public function get onProcessComplete():Function public function set onProcessComplete(value:Function):void| onProcessError | property |
onProcessError:Functionシーンオブジェクトが ProcessEvent.PROCESS_ERROR イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
public function get onProcessError():Function public function set onProcessError(value:Function):void| onProcessEvent | property |
onProcessEvent:Functionシーンオブジェクトが ProcessEvent.PROCESS_EVENT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
public function get onProcessEvent():Function public function set onProcessEvent(value:Function):void| onProcessInterrupt | property |
onProcessInterrupt:Functionシーンオブジェクトが ProcessEvent.PROCESS_INTERRUPT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
public function get onProcessInterrupt():Function public function set onProcessInterrupt(value:Function):void| onProcessScene | property |
onProcessScene:Functionシーンオブジェクトが ProcessEvent.PROCESS_SCENE イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
public function get onProcessScene():Function public function set onProcessScene(value:Function):void| onProcessStart | property |
onProcessStart:Functionシーンオブジェクトが ProcessEvent.PROCESS_START イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、addCommand() メソッド、及び insertCommand() メソッドによるコマンドの同期処理が行えます。
public function get onProcessStart():Function public function set onProcessStart(value:Function):void| root | property |
root:SceneObject [read-only] 制御対象のシーンリストのツリー構造部分の一番上にある SceneObject インスタンスを取得または設定します。
public function get root():SceneObject| running | property |
running:Boolean [read-only] 現在の処理状態を取得します。
public function get running():Boolean| stage | property |
stage:Stage [read-only] インスタンスに関連付けられている Stage インスタンスを取得します。
public function get stage():Stage| sync | property |
sync:Booleanブラウザ上でコンテンツを実行している場合に、URL と Progression インスタンスのシーンを同期させるかどうかを取得または設定します。 同一コンテンツ上で有効化できる Progression インスタンスは 1 つのみであり、複数に対して有効化を試みた場合、最後に有効化された Progression インスタンス以外の sync プロパティは自動的に false に設定されます。
public function get sync():Boolean public function set sync(value:Boolean):void| uiContextMenu | property |
uiContextMenu:CastObjectContextMenu [read-only] 背景に関連付けられている CastObjectContextMenu インスタンスを取得します。
public static function get uiContextMenu():CastObjectContextMenu| Progression | () | Constructor |
public function Progression(id:String, stage:Stage = null, rootClass:Class = null)新しい Progression インスタンスを作成します。 Creates a new Progression object.
Parametersid:String — インスタンスの識別子です。
| |
stage:Stage (default = null) — 関連付けたい Stage インスタンスです。
| |
rootClass:Class (default = null) — ルートシーンに関連付けたいクラスの参照です。
|
| _onProcessComplete | () | method |
protected function _onProcessComplete():voidサブクラスで onProcessComplete イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onProcessComplete プロパティに、別のメソッドを設定された場合は無効化されます。
| _onProcessError | () | method |
protected function _onProcessError():voidサブクラスで onProcessError イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onProcessError プロパティに、別のメソッドを設定された場合は無効化されます。
| _onProcessEvent | () | method |
protected function _onProcessEvent():voidサブクラスで onProcessEvent イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onProcessEvent プロパティに、別のメソッドを設定された場合は無効化されます。
| _onProcessInterrupt | () | method |
protected function _onProcessInterrupt():voidサブクラスで onProcessInterrupt イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onProcessInterrupt プロパティに、別のメソッドを設定された場合は無効化されます。
| _onProcessScene | () | method |
protected function _onProcessScene():voidサブクラスで onProcessScene イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onProcessScene プロパティに、別のメソッドを設定された場合は無効化されます。
| _onProcessStart | () | method |
protected function _onProcessStart():voidサブクラスで onProcessStart イベントハンドラメソッドの処理を override で実装したい場合に上書きします。 onProcessStart プロパティに、別のメソッドを設定された場合は無効化されます。
| getProgressionById | () | method |
public function getProgressionById(id:String):Progression指定された id と同じ値が設定されている Progression インスタンスを返します。
Parameters
id:String — 条件となるストリングです。
|
Progression —
条件と一致するインスタンスです。
|
| getProgressionBySceneId | () | method |
public function getProgressionBySceneId(sceneId:SceneId):Progression指定された sceneId インスタンスの指し示す Progression インスタンスを返します。
Parameters
sceneId:SceneId — 条件となる SceneId インスタンスです。
|
Progression —
条件と一致するインスタンスです。
|
| getProgressionsByGroup | () | method |
public function getProgressionsByGroup(group:String, sort:Boolean = false):Array指定された group と同じ値を持つ Progression インスタンスを含む配列を返します。
Parameters
group:String — 条件となるストリングです。
| |
sort:Boolean (default = false) — 配列をソートするかどうかを指定します。
|
Array —
条件と一致するインスタンスです。
|
| getProgressionsByRegExp | () | method |
public function getProgressionsByRegExp(fieldName:String, pattern:RegExp, sort:Boolean = false):Array指定された fieldName が条件と一致する Progression インスタンスを含む配列を返します。
Parameters
fieldName:String — 調査するフィールド名です。
| |
pattern:RegExp — 条件となる正規表現です。
| |
sort:Boolean (default = false) — 配列をソートするかどうかを指定します。
|
Array —
条件と一致するインスタンスです。
|
| goto | () | method |
| initialize | () | method |
public static function initialize(activatedLicenseType:String):Boolean
Parameters
activatedLicenseType:String |
Boolean —
|
| interrupt | () | method |
public function interrupt(enforced:Boolean = false):voidシーン移動処理を中断します。
Parameters
enforced:Boolean (default = false) — 現在の処理で強制的に中断するかどうかです。
|
| setProperties | () | method |
public function setProperties(props:Object):Progressionインスタンスに対して、複数のプロパティを一括設定します。
Parameters
props:Object — 設定したいプロパティを含んだオブジェクトです。
|
Progression —
設定対象の Progression インスタンスです。
|
| toString | () | method |
override public function toString():String指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ReturnsString —
オブジェクトのストリング表現です。
A string representation of the object.
|
| processComplete | Event |
jp.progression.events.ProcessEventjp.progression.events.ProcessEvent.PROCESS_COMPLETEシーン移動処理が完了した場合に送出されます。
processComplete イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_COMPLETE constant defines the value of the type property of an processComplete event object.| processError | Event |
jp.progression.events.ProcessEventjp.progression.events.ProcessEvent.PROCESS_ERRORシーン移動処理中に移動先のシーンが存在しなかった場合に送出されます。
processError イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_ERROR constant defines the value of the type property of an processError event object.| processEvent | Event |
jp.progression.events.ProcessEventjp.progression.events.ProcessEvent.PROCESS_EVENTシーン移動処理中に対象シーンでイベントが発生した場合に送出されます。
processEvent イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_EVENT constant defines the value of the type property of an processEvent event object.| processInterrupt | Event |
jp.progression.events.ProcessEventjp.progression.events.ProcessEvent.PROCESS_INTERRUPTシーン移動処理が停止された場合に送出されます。
processInterrupt イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_INTERRUPT constant defines the value of the type property of an processInterrupt event object.| processScene | Event |
jp.progression.events.ProcessEventjp.progression.events.ProcessEvent.PROCESS_SCENEシーン移動処理中に対象シーンが変更された場合に送出されます。
processScene イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_SCENE constant defines the value of the type property of an processScene event object.| processStart | Event |
jp.progression.events.ProcessEventjp.progression.events.ProcessEvent.PROCESS_STARTシーン移動処理が開始された場合に送出されます。
processStart イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_START constant defines the value of the type property of an processStart event object.| AUTHOR | Constant |
public static const AUTHOR:String = Copyright (C) 2007-2010 taka:nium.jp, All Rights Reserved.パッケージの制作者を取得します。
| NAME | Constant |
public static const NAME:String = Progressionパッケージの名前を取得します。
| PLAYER_VERSION | Constant |
public static const PLAYER_VERSION:Version対応している Flash Player のバージョンを取得します。
| URL | Constant |
public static const URL:String = http://progression.jp/パッケージの URL を取得します。
| VERSION | Constant |
public static const VERSION:Versionパッケージのバージョン情報を取得します。
// Progression インスタンスを作成します。
var prog:Progression = new Progression( "index", stage );
// ルートシーンのイベントハンドラメソッドを設定します。
prog.root.onLoad = function():void {
trace( "ルートシーンで SceneEvent.LOAD イベントが送出されました。" );
};
prog.root.onInit = function():void {
trace( "ルートシーンで SceneEvent.INIT イベントが送出されました。" );
};
// ルートシーン以下に子シーンを追加します。
prog.root.addScene( new SceneObject( "scene1" ) );
prog.root.addScene( new SceneObject( "scene2" ) );
prog.root.addScene( new SceneObject( "scene3" ) );
// scene1 シーンに移動します。
prog.goto( new SceneId( "/index/scene1" ) );