Packagejp.progression.scenes
Classpublic class SceneLoader
InheritanceSceneLoader Inheritance SceneObject Inheritance flash.events.EventDispatcher

SceneLoader クラスは、自身以下のシーンリストを読み込んだ外部 SWF ファイルを使用して設計可能にするローダークラスです。


Example
  // SceneLoader インスタンスを作成する
  var scene:SceneLoader = new SceneLoader();
  



Public Properties
 PropertyDefined by
 InheritedclassName : String
インスタンスのクラス名を取得します。 Indicates the instance className of the SceneObject.
SceneObject
 Inheritedcontainer : Sprite
関連付けられている Sprite インスタンスを取得します。
SceneObject
  content : SceneObject
[read-only] 読み込まれた SWF ファイルのプライマリマネージャーインスタンスに関連付けられているルートシーンを取得します。
SceneLoader
  contentSceneInfo : SceneInfo
[read-only] 読み込まれた SWF ファイルに関連付けられている SceneInfo インスタンスを取得します。
SceneLoader
 InheriteddataHolder : DataHolder
関連付けられている DataHolder インスタンスを取得します。
SceneObject
 Inheritedexecutor : ExecutorObject
関連付けられている ExecutorObject インスタンスを取得します。
SceneObject
 Inheritedgroup : String
インスタンスのグループ名を取得または設定します。 Indicates the instance group of the SceneObject.
SceneObject
 Inheritedid : String
インスタンスを表すユニークな識別子を取得または設定します。
SceneObject
  loaderContainer : Sprite
[read-only] 読み込まれた SWF ファイル内に作成される SceneObject インスタンスの container プロパティの値を取得します。
SceneLoader
 Inheritedmanager : Progression
関連付けられている Progression インスタンスを取得します。
SceneObject
 Inheritedname : String
インスタンスの名前を取得または設定します。 Indicates the instance name of the SceneObject.
SceneObject
 Inheritednext : SceneObject
このシーンが関連付けられている親の SceneObject インスタンス内で、次に位置する SceneObject インスタンスを取得します。
SceneObject
 InheritednumScenes : int
子として登録されているシーン数を取得します。 Returns the number of children of this SceneObject.
SceneObject
  onSceneAscend : Function
SceneLoader
  onSceneDescend : Function
SceneLoader
  onSceneGoto : Function
SceneLoader
  onSceneInit : Function
SceneLoader
  onSceneLoad : Function
SceneLoader
  onScenePostUnload : Function
シーンオブジェクトが SceneEvent.SCENE_POST_UNLOAD イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
SceneLoader
  onScenePreLoad : Function
シーンオブジェクトが SceneEvent.SCENE_PRE_LOAD イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
SceneLoader
  onSceneUnload : Function
SceneLoader
 Inheritedparent : SceneObject
この SceneObject オブジェクトを含む SceneObject オブジェクトを示します。 Indicates the SceneObject object that contains this SceneObject object.
SceneObject
 Inheritedprevious : SceneObject
このシーンが関連付けられている親の SceneObject インスタンス内で、一つ前に位置する SceneObject インスタンスを取得します。
SceneObject
 Inheritedroot : SceneObject
シーンツリー構造の一番上に位置する SceneObject インスタンスを取得します。
SceneObject
 InheritedsceneId : SceneId
シーン識別子を取得します。
SceneObject
 InheritedsceneInfo : SceneInfo
関連付けられている SceneInfo インスタンスを取得します。
SceneObject
 Inheritedscenes : Array
子シーンインスタンスが保存されている配列です。 この配列を操作することで元の配列を変更することはできません。
SceneObject
 Inheritedself : SceneObject
自身の参照を取得します。
SceneObject
 Inheritedstage : Stage
関連付けられている Stage インスタンスを取得します。
SceneObject
 Inheritedtitle : String
シーンのタイトルを取得または設定します。
SceneObject
 Inheritedvisited : Boolean
一度でもシーンに移動してきた時があるかどうかを取得します。
SceneObject
Public Methods
 MethodDefined by
  
SceneLoader(name:String = null, initObject:Object = null)
新しい SceneLoader インスタンスを作成します。 Creates a new SceneLoader object.
SceneLoader
 Inherited
addCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
SceneObject
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
イベントリスナーオブジェクトを EventDispatcher インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。 このメソッドを使用して登録されたリスナーを removeEventListener() メソッドで削除した場合には、restoreRemovedListeners() メソッドで再登録させることができます。 Register the event listener object into the EventDispatcher instance to get the event notification.
SceneObject
 Inherited
この SceneObject インスタンスに子 SceneObject インスタンスを追加します。 Adds a child SceneObject instance to this SceneObject instance.
SceneObject
 Inherited
addSceneAt(scene:SceneObject, index:int):SceneObject
この SceneObject インスタンスの指定されたインデックス位置に子 SceneObject インスタンスを追加します。 Adds a child SceneObject instance to this SceneObject instance.
SceneObject
 Inherited
この SceneObject インスタンスの指定されたインデックス位置に子 SceneObject インスタンスを追加します。 Adds a child SceneObject instance to this SceneObject instance.
SceneObject
 Inherited
addSceneFromXML(prml:XML):void
この SceneObject インスタンスの子を PRML 形式の XML データから追加します。
SceneObject
 Inherited
clearCommand(completely:Boolean = false):void
登録されている Command インスタンスを削除します。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
SceneObject
  
close():void
SceneLoader インスタンスに対して現在進行中の load() メソッドの処理をキャンセルします。 Cancels a load() method operation that is currently in progress for the SceneLoader instance.
SceneLoader
 Inherited
contains(scene:SceneObject):Boolean
指定されたシーンオブジェクトが SceneObject インスタンスの子であるか、オブジェクト自体であるかを指定します。 Determines whether the specified SceneObject is a scene of the SceneObject instance or the instance itself.
SceneObject
 Inherited
dispatchEvent(event:Event):Boolean
イベントをイベントフローに送出します。 Dispatches an event into the event flow.
SceneObject
  
dispose():void
保持しているデータを解放します。
SceneLoader
 Inherited
getSceneAt(index:int):SceneObject
指定のインデックス位置にある子シーンオブジェクトオブジェクトを返します。 Returns the child SceneObject instance that exists at the specified index.
SceneObject
 Inherited
指定された名前に一致する子シーンオブジェクトを返します。 Returns the child SceneObject that exists with the specified name.
SceneObject
 Inherited
子 SceneObject インスタンスのインデックス位置を返します。 Returns the index position of a child SceneObject instance.
SceneObject
 Inherited
シーン識別子をルートシーン(グローバル)パスからローダーシーンの(ローカル)パスに変換します。
SceneObject
 Inherited
hasEventListener(type:String):Boolean
EventDispatcher インスタンスに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。 Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
SceneObject
 Inherited
insertCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをすでにリストに登録され、実行中の Command インスタンスの次の位置に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
SceneObject
  
load(request:URLRequest, loaderContainer:Sprite = null, checkPolicyFile:Boolean = false, securityDomain:SecurityDomain = null):void
SWF ファイルを、この SceneLoader オブジェクトの子であるオブジェクトにロードします。 読み込まれる SWF ファイルはドキュメントクラスに CastDocument クラスを継承、もしくは PRMLLoader コンポーネント、EasyCastingLoader コンポーネントが設置されている必要があります。
SceneLoader
  
loadBytes(bytes:ByteArray, loaderContainer:Sprite = null, checkPolicyFile:Boolean = false, securityDomain:SecurityDomain = null):void
ByteArray オブジェクトに保管されているバイナリデータから読み込みます。 Loads from binary data stored in a ByteArray object.
SceneLoader
 Inherited
シーン識別子をローダーシーンの(ローカル)パスからルートシーン(グローバル)パスに変換します。
SceneObject
 Inherited
SceneObject に追加されている全ての子 SceneObject インスタンスを削除します。
SceneObject
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventDispatcher インスタンスからリスナーを削除します。 このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができます。 Remove the listener from EventDispatcher instance.
SceneObject
 Inherited
SceneObject インスタンスの子リストから指定の SceneObject インスタンスを削除します。 Removes the specified child SceneObject instance from the scene list of the SceneObject instance.
SceneObject
 Inherited
SceneObject の子リストの指定されたインデックス位置から子 SceneObject インスタンスを削除します。 Removes a child SceneObject from the specified index position in the child list of the SceneObject.
SceneObject
 Inherited
setProperties(parameters:Object):SceneObject
インスタンスに対して、複数のプロパティを一括設定します。
SceneObject
 Inherited
setSceneIndex(scene:SceneObject, index:int):void
シーンオブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing scene in the SceneObject container.
SceneObject
 Inherited
setSceneIndexAbove(scene:SceneObject, index:int):void
シーンオブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing scene in the SceneObject container.
SceneObject
 Inherited
swapScenes(scene1:SceneObject, scene2:SceneObject):void
指定された 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。 Swaps the z-order (front-to-back order) of the two specified scene objects.
SceneObject
 Inherited
swapScenesAt(index1:int, index2:int):void
子リスト内の指定されたインデックス位置に該当する 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。 Swaps the z-order (front-to-back order) of the scene objects at the two specified index positions in the scene list.
SceneObject
 Inherited
toString():String
指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
SceneObject
  
toXMLString():String
指定されたオブジェクトの XML ストリング表現を返します。 Returns a XML string representation of the XML object.
SceneLoader
  
unload():void
load() メソッドを使用して読み込まれた、この SceneLoader オブジェクトの子を削除します。 Removes a child of this SceneLoader object that was loaded by using the load() method.
SceneLoader
  
unloadAndStop(gc:Boolean = true):void
子 SWF ファイルの内容のアンロードを試み、ロードされた SWF ファイルのコマンドの実行を中止します。 Attempts to unload child SWF file contents and stops the execution of commands from loaded SWF files.
SceneLoader
 Inherited
updateManager():Boolean
マネージャーオブジェクトとの関連付けを更新します。
SceneObject
 Inherited
validate(prml:XML):Boolean
[static] XML データが PRML フォーマットに準拠しているかどうかを返します。
SceneObject
 Inherited
willTrigger(type:String):Boolean
指定されたイベントタイプについて、この EventDispatcher インスタンスまたはその祖先にイベントリスナーが登録されているかどうかを確認します。 Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
SceneObject
Protected Methods
 MethodDefined by
 Inherited
シーンオブジェクトが SceneEvent.SCENE_ASCEND イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
SceneObject
 Inherited
シーンオブジェクトが SceneEvent.SCENE_DESCEND イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
SceneObject
 Inherited
atSceneGoto():void
シーンオブジェクトが SceneEvent.SCENE_GOTO イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
SceneObject
 Inherited
atSceneInit():void
シーンオブジェクトが SceneEvent.SCENE_INIT イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
SceneObject
 Inherited
atSceneLoad():void
シーンオブジェクトが SceneEvent.SCENE_LOAD イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
SceneObject
  
シーンオブジェクトが SceneEvent.SCENE_POST_UNLOAD イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
SceneLoader
  
シーンオブジェクトが SceneEvent.SCENE_PRE_LOAD イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
SceneLoader
 Inherited
シーンオブジェクトが SceneEvent.SCENE_UNLOAD イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
SceneObject
Events
 EventSummaryDefined by
 Inherited 非同期処理中にエラーが発生した場合に送出されます。 SceneObject
 Inherited Progression インスタンスとの関連付けがアクティブになったときに送出されます。 SceneObject
 Inherited Progression インスタンスとの関連付けが非アクティブになったときに送出されます。 SceneObject
 Inherited シーンオブジェクトがシーンリストに追加された場合に送出されます。 SceneObject
 Inherited シーンオブジェクトが直接、またはシーンオブジェクトを含むサブツリーの追加により、ルートシーン上のシーンリストに追加されたときに送出されます。 SceneObject
 Inherited シーン移動時に目的地がシーンオブジェクトの親階層であり、かつ出発地ではない場合に、自身が移動を中継した瞬間に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 SceneObject
 Inherited シーン移動時に目的地がシーンオブジェクトの子階層であり、かつ出発地ではない場合に、自身が移動を中継した瞬間に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 SceneObject
 Inherited シーンオブジェクト自身が出発地だった場合に、移動を開始した瞬間に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 SceneObject
 Inherited シーンオブジェクト自身が目的地だった場合に、到達した瞬間に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 SceneObject
 Inherited シーンオブジェクト自身が目的地だった場合に、イベント sceneInit の非同期処理が完了した瞬間に送出されます。 SceneObject
 Inherited シーン移動時に目的地がシーンオブジェクト自身もしくは子階層だった場合に、階層が変更された直後に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 SceneObject
   シーン移動時に目的地がシーンオブジェクト自身もしくは親階層であり、かつ自身がすでに SWF ファイルを読み込んでいる状態で、SceneEvent.SCENE_UNLOAD イベントが発生した直後に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 SceneLoader
   シーン移動時に目的地がシーンオブジェクト自身もしくは子階層であり、かつ自身が SWF ファイルを読み込んでいない状態で、SceneEvent.SCENE_LOAD イベントが発生する直前に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 SceneLoader
 Inherited シーンオブジェクトがシーンリストから削除された場合に送出されます。 SceneObject
 Inherited シーンオブジェクトが直接、またはシーンオブジェクトを含むサブツリーの削除により、ルートシーン上のシーンリストから削除されようとしているときに送出されます。 SceneObject
 Inherited シーンオブジェクトの title プロパティが変更された場合に送出されます。 SceneObject
 Inherited シーン移動時に目的地がシーンオブジェクト自身もしくは親階層だった場合に、階層が変更される直前に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 SceneObject
Property detail
contentproperty
content:SceneObject  [read-only]

読み込まれた SWF ファイルのプライマリマネージャーインスタンスに関連付けられているルートシーンを取得します。

Implementation
    public function get content():SceneObject
contentSceneInfoproperty 
contentSceneInfo:SceneInfo  [read-only]

読み込まれた SWF ファイルに関連付けられている SceneInfo インスタンスを取得します。

Implementation
    public function get contentSceneInfo():SceneInfo
loaderContainerproperty 
loaderContainer:Sprite  [read-only]

読み込まれた SWF ファイル内に作成される SceneObject インスタンスの container プロパティの値を取得します。

Implementation
    public function get loaderContainer():Sprite
onSceneAscendproperty 
onSceneAscend:Function  [read-write]Implementation
    public function get onSceneAscend():Function
    public function set onSceneAscend(value:Function):void
onSceneDescendproperty 
onSceneDescend:Function  [read-write]Implementation
    public function get onSceneDescend():Function
    public function set onSceneDescend(value:Function):void
onSceneGotoproperty 
onSceneGoto:Function  [read-write]Implementation
    public function get onSceneGoto():Function
    public function set onSceneGoto(value:Function):void
onSceneInitproperty 
onSceneInit:Function  [read-write]Implementation
    public function get onSceneInit():Function
    public function set onSceneInit(value:Function):void
onSceneLoadproperty 
onSceneLoad:Function  [read-write]Implementation
    public function get onSceneLoad():Function
    public function set onSceneLoad(value:Function):void
onScenePostUnloadproperty 
onScenePostUnload:Function  [read-write]

シーンオブジェクトが SceneEvent.SCENE_POST_UNLOAD イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。

Implementation
    public function get onScenePostUnload():Function
    public function set onScenePostUnload(value:Function):void

See also

onScenePreLoadproperty 
onScenePreLoad:Function  [read-write]

シーンオブジェクトが SceneEvent.SCENE_PRE_LOAD イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。

Implementation
    public function get onScenePreLoad():Function
    public function set onScenePreLoad(value:Function):void

See also

onSceneUnloadproperty 
onSceneUnload:Function  [read-write]Implementation
    public function get onSceneUnload():Function
    public function set onSceneUnload(value:Function):void
Constructor detail
SceneLoader()constructor
public function SceneLoader(name:String = null, initObject:Object = null)

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

Parameters
name:String (default = null)シーンの名前です。
 
initObject:Object (default = null)設定したいプロパティを含んだオブジェクトです。
Method detail
atScenePostUnload()method
protected function atScenePostUnload():void

シーンオブジェクトが SceneEvent.SCENE_POST_UNLOAD イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。

See also

atScenePreLoad()method 
protected function atScenePreLoad():void

シーンオブジェクトが SceneEvent.SCENE_PRE_LOAD イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。

See also

close()method 
public function close():void

SceneLoader インスタンスに対して現在進行中の load() メソッドの処理をキャンセルします。 Cancels a load() method operation that is currently in progress for the SceneLoader instance.

dispose()method 
public override function dispose():void

保持しているデータを解放します。

load()method 
public function load(request:URLRequest, loaderContainer:Sprite = null, checkPolicyFile:Boolean = false, securityDomain:SecurityDomain = null):void

SWF ファイルを、この SceneLoader オブジェクトの子であるオブジェクトにロードします。 読み込まれる SWF ファイルはドキュメントクラスに CastDocument クラスを継承、もしくは PRMLLoader コンポーネント、EasyCastingLoader コンポーネントが設置されている必要があります。

Parameters
request:URLRequest読み込む SWF ファイルの絶対 URL または相対 URL です。相対パスの場合は、メイン SWF ファイルを基準にする必要があります。絶対 URL の場合は、http:// や file:/// などのプロトコル参照も含める必要があります。ファイル名には、ドライブ指定を含めることはできません。 The absolute or relative URL of the SWF file to be loaded. A relative path must be relative to the main SWF file. Absolute URLs must include the protocol reference, such as http:// or file:///. Filenames cannot include disk drive specifications.
 
loaderContainer:Sprite (default = null)読み込まれた SWF ファイルの表示オブジェクトの基準となる Sprite です。
 
checkPolicyFile:Boolean (default = false)オブジェクトをロードする前に、URL ポリシーファイルの存在を確認するかどうかを指定します。 Specifies whether a check should be made for the existence of a URL policy file before loading the object.
 
securityDomain:SecurityDomain (default = null)SceneLoader オブジェクトで使用する SecurityDomain オブジェクトを指定します。 Specifies the SecurityDomain object to use for a SceneLoader object.
loadBytes()method 
public function loadBytes(bytes:ByteArray, loaderContainer:Sprite = null, checkPolicyFile:Boolean = false, securityDomain:SecurityDomain = null):void

ByteArray オブジェクトに保管されているバイナリデータから読み込みます。 Loads from binary data stored in a ByteArray object.

Parameters
bytes:ByteArrayByteArray オブジェクトです。ByteArray の内容としては、Loader クラスがサポートする SWF、GIF、JPEG、PNG のうちの任意のファイル形式を使用できます。 A ByteArray object. The contents of the ByteArray can be any of the file formats supported by the Loader class: SWF, GIF, JPEG, or PNG.
 
loaderContainer:Sprite (default = null)読み込まれた SWF ファイルの表示オブジェクトの基準となる Sprite です。
 
checkPolicyFile:Boolean (default = false)オブジェクトをロードする前に、URL ポリシーファイルの存在を確認するかどうかを指定します。 Specifies whether a check should be made for the existence of a URL policy file before loading the object.
 
securityDomain:SecurityDomain (default = null)SceneLoader オブジェクトで使用する SecurityDomain オブジェクトを指定します。 Specifies the SecurityDomain object to use for a SceneLoader object.
toXMLString()method 
public override function toXMLString():String

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

Returns
Stringオブジェクトの XML ストリング表現です。 The XML string representation of the XML object.
unload()method 
public function unload():void

load() メソッドを使用して読み込まれた、この SceneLoader オブジェクトの子を削除します。 Removes a child of this SceneLoader object that was loaded by using the load() method.

unloadAndStop()method 
public function unloadAndStop(gc:Boolean = true):void

子 SWF ファイルの内容のアンロードを試み、ロードされた SWF ファイルのコマンドの実行を中止します。 Attempts to unload child SWF file contents and stops the execution of commands from loaded SWF files.

Parameters
gc:Boolean (default = true)子 SWF オブジェクトでガベージコレクターが実行されるようにヒントを提供するかどうかを指定します(true または false)。 Provides a hint to the garbage collector to run on the child SWF objects (true) or not (false).
Event detail
scenePostUnloadevent 
Event object type: jp.progression.events.SceneEvent

シーン移動時に目的地がシーンオブジェクト自身もしくは親階層であり、かつ自身がすでに SWF ファイルを読み込んでいる状態で、SceneEvent.SCENE_UNLOAD イベントが発生した直後に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。

scenePreLoadevent  
Event object type: jp.progression.events.SceneEvent

シーン移動時に目的地がシーンオブジェクト自身もしくは子階層であり、かつ自身が SWF ファイルを読み込んでいない状態で、SceneEvent.SCENE_LOAD イベントが発生する直前に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。