Packagejp.progression.events
Classpublic class SceneEvent
InheritanceSceneEvent Inheritance flash.events.Event

対象の SceneObject オブジェクトがシーンイベントフロー上で処理ポイントに位置した場合や、状態が変化した場合に SceneEvent オブジェクトが送出されます。

View the examples



Public Properties
 PropertyDefined By
  eventType : String
[read-only] イベント発生時のカレントイベントタイプを取得します。
SceneEvent
  scene : SceneObject
[read-only] イベント発生時のカレントシーンを取得します。
SceneEvent
Public Methods
 MethodDefined By
  
SceneEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, scene:SceneObject = null, eventType:String = null)
新しい SceneEvent インスタンスを作成します。 Creates a new SceneEvent object.
SceneEvent
  
clone():Event
[override] SceneEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an SceneEvent subclass.
SceneEvent
  
toString():String
[override] 指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
SceneEvent
Public Constants
 ConstantDefined By
  ASCEND : String = ascend
[static] ascend イベントオブジェクトの type プロパティ値を定義します。 The SceneEvent.ASCEND constant defines the value of the type property of an ascend event object.
SceneEvent
  DESCEND : String = descend
[static] descend イベントオブジェクトの type プロパティ値を定義します。 The SceneEvent.DESCEND constant defines the value of the type property of an descend event object.
SceneEvent
  GOTO : String = goto
[static] goto イベントオブジェクトの type プロパティ値を定義します。 The SceneEvent.GOTO constant defines the value of the type property of an goto event object.
SceneEvent
  INIT : String = init
[static] init イベントオブジェクトの type プロパティ値を定義します。 The SceneEvent.INIT constant defines the value of the type property of an init event object.
SceneEvent
  LOAD : String = load
[static] load イベントオブジェクトの type プロパティ値を定義します。 The SceneEvent.LOAD constant defines the value of the type property of an load event object.
SceneEvent
  SCENE_ADDED : String = sceneAdded
[static] sceneAdded イベントオブジェクトの type プロパティ値を定義します。 The SceneEvent.SCENE_ADDED constant defines the value of the type property of an sceneAdded event object.
SceneEvent
  SCENE_ADDED_TO_ROOT : String = sceneAddedToRoot
[static] sceneAddedToRoot イベントオブジェクトの type プロパティ値を定義します。 The SceneEvent.SCENE_ADDED_TO_ROOT constant defines the value of the type property of an sceneAddedToRoot event object.
SceneEvent
  SCENE_QUERY : String = sceneQuery
[static] sceneQuery イベントオブジェクトの type プロパティ値を定義します。 The SceneEvent.SCENE_QUERY constant defines the value of the type property of an sceneQuery event object.
SceneEvent
  SCENE_REMOVED : String = sceneRemoved
[static] sceneRemoved イベントオブジェクトの type プロパティ値を定義します。 The SceneEvent.SCENE_REMOVED constant defines the value of the type property of an sceneRemoved event object.
SceneEvent
  SCENE_REMOVED_FROM_ROOT : String = sceneRemovedFromRoot
[static] sceneRemovedFromRoot イベントオブジェクトの type プロパティ値を定義します。 The SceneEvent.SCENE_REMOVED_FROM_ROOT constant defines the value of the type property of an sceneRemovedFromRoot event object.
SceneEvent
  SCENE_STATE_CHANGE : String = sceneStateChange
[static] sceneStateChange イベントオブジェクトの type プロパティ値を定義します。 The SceneEvent.SCENE_STATE_CHANGE constant defines the value of the type property of an sceneStateChange event object.
SceneEvent
  SCENE_TITLE : String = sceneTitle
[static] sceneTitle イベントオブジェクトの type プロパティ値を定義します。 The SceneEvent.SCENE_TITLE constant defines the value of the type property of an sceneTitle event object.
SceneEvent
  UNLOAD : String = unload
[static] unload イベントオブジェクトの type プロパティ値を定義します。 The SceneEvent.UNLOAD constant defines the value of the type property of an unload event object.
SceneEvent
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
SceneEvent()Constructor
public function SceneEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, scene:SceneObject = null, eventType:String = null)

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

Parameters
type:StringSceneEvent.type としてアクセス可能なイベントタイプです。 The type of the event, accessible as SceneEvent.type.
 
bubbles:Boolean (default = false)SceneEvent インスタンスがイベントフローのバブリング段階で処理されるかどうかを判断します。デフォルト値は false です。 Determines whether the SceneEvent object participates in the bubbling stage of the event flow. The default value is false.
 
cancelable:Boolean (default = false)SceneEvent インスタンスがキャンセル可能かどうかを判断します。デフォルト値は false です。 Determines whether the SceneEvent 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

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

Returns
Event元のオブジェクトと同じプロパティ値を含む新しい SceneEvent インスタンスです。 A new SceneEvent 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
ASCENDConstant
public static const ASCEND:String = ascend

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

DESCENDConstant 
public static const DESCEND:String = descend

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

GOTOConstant 
public static const GOTO:String = goto

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

INITConstant 
public static const INIT:String = init

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

LOADConstant 
public static const LOAD:String = load

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

SCENE_ADDEDConstant 
public static const SCENE_ADDED:String = sceneAdded

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

SCENE_ADDED_TO_ROOTConstant 
public static const SCENE_ADDED_TO_ROOT:String = sceneAddedToRoot

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

SCENE_QUERYConstant 
public static const SCENE_QUERY:String = sceneQuery

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

SCENE_REMOVEDConstant 
public static const SCENE_REMOVED:String = sceneRemoved

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

SCENE_REMOVED_FROM_ROOTConstant 
public static const SCENE_REMOVED_FROM_ROOT:String = sceneRemovedFromRoot

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

SCENE_STATE_CHANGEConstant 
public static const SCENE_STATE_CHANGE:String = sceneStateChange

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

SCENE_TITLEConstant 
public static const SCENE_TITLE:String = sceneTitle

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

UNLOADConstant 
public static const UNLOAD:String = unload

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

Examples