Packagejp.progression.events
Classpublic class CastMouseEvent
InheritanceCastMouseEvent Inheritance flash.events.MouseEvent

CastButton クラスを継承したオブジェクトで MouseEvent が送出された際に CastMouseEvent オブジェクトが送出されます。


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



Public Methods
 MethodDefined by
  
CastMouseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, localX:Number = 0.0, localY:Number = 0.0, relatedObject:InteractiveObject = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false, delta:int = 0)
新しい CastMouseEvent インスタンスを作成します。 Creates a new CastMouseEvent object.
CastMouseEvent
  
clone():Event
CastMouseEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an CastMouseEvent subclass.
CastMouseEvent
  
toString():String
指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
CastMouseEvent
Public Constants
 ConstantDefined by
  CAST_MOUSE_DOWN : String = "castMouseDown"
[static] castMouseDown イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_MOUSE_DOWN constant defines the value of the type property of an castMouseDown event object.
CastMouseEvent
  CAST_MOUSE_DOWN_COMPLETE : String = "castMouseDownComplete"
[static] castMouseDownComplete イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_MOUSE_DOWN_COMPLETE constant defines the value of the type property of an castMouseDownComplete event object.
CastMouseEvent
  CAST_MOUSE_UP : String = "castMouseUp"
[static] castMouseUp イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_MOUSE_UP constant defines the value of the type property of an castMouseUp event object.
CastMouseEvent
  CAST_MOUSE_UP_COMPLETE : String = "castMouseUpComplete"
[static] castMouseUpComplete イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_MOUSE_UP_COMPLETE constant defines the value of the type property of an castMouseUpComplete event object.
CastMouseEvent
  CAST_NAVIGATE_BEFORE : String = "castNavigateBefore"
[static] castNavigateBefore イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_NAVIGATE_BEFORE constant defines the value of the type property of an castNavigateBefore event object.
CastMouseEvent
  CAST_ROLL_OUT : String = "castRollOut"
[static] castRollOut イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_ROLL_OUT constant defines the value of the type property of an castRollOut event object.
CastMouseEvent
  CAST_ROLL_OUT_COMPLETE : String = "castRollOutComplete"
[static] castRollOutComplete イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_ROLL_OUT_COMPLETE constant defines the value of the type property of an castRollOutComplete event object.
CastMouseEvent
  CAST_ROLL_OVER : String = "castRollOver"
[static] castRollOver イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_ROLL_OVER constant defines the value of the type property of an castRollOver event object.
CastMouseEvent
  CAST_ROLL_OVER_COMPLETE : String = "castRollOverComplete"
[static] castRollOverComplete イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_ROLL_OVER_COMPLETE constant defines the value of the type property of an castRollOverComplete event object.
CastMouseEvent
  CAST_STATE_CHANGE : String = "castStateChange"
[static] castStateChange イベントオブジェクトの type プロパティ値を定義します。 The CastMouseEvent.CAST_STATE_CHANGE constant defines the value of the type property of an castStateChange event object.
CastMouseEvent
Constructor detail
CastMouseEvent()constructor
public function CastMouseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, localX:Number = 0.0, localY:Number = 0.0, relatedObject:InteractiveObject = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false, delta:int = 0)

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

Parameters
type:StringCastMouseEvent.type としてアクセス可能なイベントタイプです。 The type of the event, accessible as CastMouseEvent.type.
 
bubbles:Boolean (default = false)CastMouseEvent インスタンスがイベントフローのバブリング段階で処理されるかどうかを判断します。デフォルト値は false です。 Determines whether the CastMouseEvent object participates in the bubbling stage of the event flow. The default value is false.
 
cancelable:Boolean (default = false)CastMouseEvent インスタンスがキャンセル可能かどうかを判断します。デフォルト値は false です。 Determines whether the CastMouseEvent object can be canceled. The default values is false.
 
localX:Number (default = 0.0)スプライトを基準とするイベント発生位置の水平座標です。 The horizontal coordinate at which the event occurred relative to the containing sprite.
 
localY:Number (default = 0.0)スプライトを基準とするイベント発生位置の垂直座標です。 The vertical coordinate at which the event occurred relative to the containing sprite.
 
relatedObject:InteractiveObject (default = null)イベントの影響を受ける補完的な InteractiveObject インスタンスです。たとえば、mouseOut イベントが発生した場合、relatedObject はポインティングデバイスが現在指している表示リストオブジェクトを表します。 The complementary InteractiveObject instance that is affected by the event. For example, when a mouseOut event occurs, relatedObject represents the display list object to which the pointing device now points.
 
ctrlKey:Boolean (default = false)Ctrl キーがアクティブになっているかどうかを示します。 On Windows, indicates whether the Ctrl key is activated. On Mac, indicates whether either the Ctrl key or the Command key is activated.
 
altKey:Boolean (default = false)将来の使用のために予約されています。 Indicates whether the Alt key is activated (Windows only).
 
shiftKey:Boolean (default = false)Shift キーがアクティブになっているかどうかを示します。 Indicates whether the Shift key is activated.
 
buttonDown:Boolean (default = false)マウスの主ボタンが押されているか押されていないかを示します。 Indicates whether the primary mouse button is pressed.
 
delta:int (default = 0)ユーザーがマウスホイールを 1 目盛り回すごとにスクロールする行数を示します。正の delta 値は上方向へのスクロールを表します。負の値は下方向へのスクロールを表します。一般的な値は 1 ~ 3 の範囲ですが、ホイールの回転が速くなると、delta の値は大きくなります。このパラメータは、CastMouseEvent.mouseWheel イベントのみで使用されます。 Indicates how many lines should be scrolled for each unit the user rotates the mouse wheel. A positive delta value indicates an upward scroll; a negative value indicates a downward scroll. Typical values are 1 to 3, but faster rotation may produce larger values. This parameter is used only for the MouseEvent.mouseWheel event.
Method detail
clone()method
public override function clone():Event

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

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

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

See also

CAST_MOUSE_DOWN_COMPLETEconstant 
public static const CAST_MOUSE_DOWN_COMPLETE:String = "castMouseDownComplete"

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

See also

CAST_MOUSE_UPconstant 
public static const CAST_MOUSE_UP:String = "castMouseUp"

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

See also

CAST_MOUSE_UP_COMPLETEconstant 
public static const CAST_MOUSE_UP_COMPLETE:String = "castMouseUpComplete"

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

See also

CAST_NAVIGATE_BEFOREconstant 
public static const CAST_NAVIGATE_BEFORE:String = "castNavigateBefore"

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

See also

CAST_ROLL_OUTconstant 
public static const CAST_ROLL_OUT:String = "castRollOut"

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

See also

CAST_ROLL_OUT_COMPLETEconstant 
public static const CAST_ROLL_OUT_COMPLETE:String = "castRollOutComplete"

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

See also

CAST_ROLL_OVERconstant 
public static const CAST_ROLL_OVER:String = "castRollOver"

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

See also

CAST_ROLL_OVER_COMPLETEconstant 
public static const CAST_ROLL_OVER_COMPLETE:String = "castRollOverComplete"

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

See also

CAST_STATE_CHANGEconstant 
public static const CAST_STATE_CHANGE:String = "castStateChange"

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

See also