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

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

View the examples



Public Properties
 PropertyDefined By
  eventType : String
[read-only] イベント発生時のカレントイベントタイプを取得します。
ProcessEvent
  scene : SceneObject
[read-only] イベント発生時のカレントシーンを取得します。
ProcessEvent
Public Methods
 MethodDefined By
  
ProcessEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, scene:SceneObject = null, eventType:String = null)
新しい ProcessEvent インスタンスを作成します。 Creates a new ProcessEvent object.
ProcessEvent
  
clone():Event
[override] ProcessEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an ProcessEvent subclass.
ProcessEvent
  
toString():String
[override] 指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ProcessEvent
Public Constants
 ConstantDefined By
  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_INTERRUPT : String = processInterrupt
[static] processInterrupt イベントオブジェクトの type プロパティ値を定義します。 The ProcessEvent.PROCESS_INTERRUPT constant defines the value of the type property of an processInterrupt 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
Property Detail
eventTypeproperty
eventType:String  [read-only]

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


Implementation
    public function get eventType():String
sceneproperty 
scene:SceneObject  [read-only]

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


Implementation
    public function get scene():SceneObject
Constructor Detail
ProcessEvent()Constructor
public function ProcessEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, scene:SceneObject = null, eventType:String = 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.
 
scene:SceneObject (default = null)イベント発生時のカレントシーンです。
 
eventType:String (default = null)イベント発生時のカレントイベントタイプです。
Method Detail
clone()method
override public 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 
override public function toString():String

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

Returns
Stringオブジェクトのストリング表現です。 A string representation of the object.
Constant Detail
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.

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.

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.

PROCESS_INTERRUPTConstant 
public static const PROCESS_INTERRUPT:String = processInterrupt

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

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.

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.

Examples