Packagejp.progression.events
Classpublic class ProcessEvent
InheritanceProcessEvent Inheritance flash.events.Event

SceneManager オブジェクトが処理を実行、完了、中断、等を行った場合に ProcessEvent オブジェクトが送出されます。 通常は、Progression オブジェクトを経由してイベントを受け取ります。


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



Public Properties
 PropertyDefined by
  errorObject : Error
[read-only] オブジェクトからスローされた例外を取得します。
ProcessEvent
  errorTarget : *
[read-only] 例外が送出された際の対象オブジェクトを取得します。
ProcessEvent
  targetEventType : String
[read-only] イベント発生時のカレントイベントタイプを取得します。
ProcessEvent
  targetScene : SceneObject
[read-only] イベント発生時のカレントシーンを取得します。
ProcessEvent
Public Methods
 MethodDefined by
  
ProcessEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, targetScene:SceneObject = null, targetEventType:String = null, errorTarget:Error = null, errorObject:* = null)
新しい ProcessEvent インスタンスを作成します。 Creates a new ProcessEvent object.
ProcessEvent
  
clone():Event
ProcessEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an ProcessEvent subclass.
ProcessEvent
  
toString():String
指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ProcessEvent
Public Constants
 ConstantDefined by
  PROCESS_CHANGE : String = "processChange"
[static] processChange イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_CHANGE constant defines the value of the type property of an processChange event object.
ProcessEvent
  PROCESS_COMPLETE : String = "processComplete"
[static] processComplete イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_COMPLETE constant defines the value of the type property of an processComplete event object.
ProcessEvent
  PROCESS_ERROR : String = "processError"
[static] processError イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_ERROR constant defines the value of the type property of an processError event object.
ProcessEvent
  PROCESS_EVENT : String = "processEvent"
[static] processEvent イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_EVENT constant defines the value of the type property of an processEvent event object.
ProcessEvent
  PROCESS_SCENE : String = "processScene"
[static] processScene イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_SCENE constant defines the value of the type property of an processScene event object.
ProcessEvent
  PROCESS_START : String = "processStart"
[static] processStart イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_START constant defines the value of the type property of an processStart event object.
ProcessEvent
  PROCESS_STOP : String = "processStop"
[static] processStop イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_STOP constant defines the value of the type property of an processStop event object.
ProcessEvent
Property detail
errorObjectproperty
errorObject:Error  [read-only]

オブジェクトからスローされた例外を取得します。

Implementation
    public function get errorObject():Error
errorTargetproperty 
errorTarget:*  [read-only]

例外が送出された際の対象オブジェクトを取得します。

Implementation
    public function get errorTarget():*
targetEventTypeproperty 
targetEventType:String  [read-only]

イベント発生時のカレントイベントタイプを取得します。

Implementation
    public function get targetEventType():String
targetSceneproperty 
targetScene:SceneObject  [read-only]

イベント発生時のカレントシーンを取得します。

Implementation
    public function get targetScene():SceneObject
Constructor detail
ProcessEvent()constructor
public function ProcessEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, targetScene:SceneObject = null, targetEventType:String = null, errorTarget:Error = null, errorObject:* = null)

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

Parameters
type:StringProcessEvent.type としてアクセス可能なイベントタイプです。 The type of the event, accessible as ProcessEvent.type.
 
bubbles:Boolean (default = false)ProcessEvent インスタンスがイベントフローのバブリング段階で処理されるかどうかを判断します。デフォルト値は false です。 Determines whether the ProcessEvent object participates in the bubbling stage of the event flow. The default value is false.
 
cancelable:Boolean (default = false)ProcessEvent インスタンスがキャンセル可能かどうかを判断します。デフォルト値は false です。 Determines whether the ProcessEvent object can be canceled. The default values is false.
 
targetScene:SceneObject (default = null)イベント発生時のカレントシーンです。
 
targetEventType:String (default = null)イベント発生時のカレントイベントタイプです。
 
errorTarget:Error (default = null)例外が送出された際の対象オブジェクトです。
 
errorObject:* (default = null)オブジェクトからスローされた例外です。
Method detail
clone()method
public override function clone():Event

ProcessEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an ProcessEvent subclass.

Returns
Event元のオブジェクトと同じプロパティ値を含む新しい ProcessEvent インスタンスです。 A new ProcessEvent object that is identical to the original.
toString()method 
public override function toString():String

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

Returns
Stringオブジェクトのストリング表現です。 A string representation of the object.
Constant detail
PROCESS_CHANGEconstant
public static const PROCESS_CHANGE:String = "processChange"

processChange イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_CHANGE constant defines the value of the type property of an processChange event object.

See also

PROCESS_COMPLETEconstant 
public static const PROCESS_COMPLETE:String = "processComplete"

processComplete イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_COMPLETE constant defines the value of the type property of an processComplete event object.

See also

PROCESS_ERRORconstant 
public static const PROCESS_ERROR:String = "processError"

processError イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_ERROR constant defines the value of the type property of an processError event object.

See also

PROCESS_EVENTconstant 
public static const PROCESS_EVENT:String = "processEvent"

processEvent イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_EVENT constant defines the value of the type property of an processEvent event object.

See also

PROCESS_SCENEconstant 
public static const PROCESS_SCENE:String = "processScene"

processScene イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_SCENE constant defines the value of the type property of an processScene event object.

See also

PROCESS_STARTconstant 
public static const PROCESS_START:String = "processStart"

processStart イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_START constant defines the value of the type property of an processStart event object.

See also

PROCESS_STOPconstant 
public static const PROCESS_STOP:String = "processStop"

processStop イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_STOP constant defines the value of the type property of an processStop event object.

See also