Class StageEvent
Extends
EventBase.
A StageEvent object is dispatched whenever enter frame event or mouse events occur on Stage.
Constructor Attributes | Constructor Name and Description |
---|---|
Constructor.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
StageEvent.ENTER_FRAME
Defines the value of the type property of a enter frame event object.
|
<static> |
StageEvent.MOUSE_DOWN
Defines the value of the type property of a mousedown event object.
|
<static> |
StageEvent.MOUSE_MOVE
Defines the value of the type property of a mousemove event object.
|
<static> |
StageEvent.MOUSE_OUT
Defines the value of the type property of a mouseout event object.
|
<static> |
StageEvent.MOUSE_OVER
Defines the value of the type property of a mouseover event object.
|
<static> |
StageEvent.MOUSE_UP
Defines the value of the type property of a mouseup event object.
|
The x accordinate of mouse postion on Stage.
|
|
The y accordinate of mouse postion on Stage.
|
- Fields borrowed from class EventBase:
- currentTarget, params, target, type
Method Attributes | Method Name and Description |
---|---|
<static> |
StageEvent.supportTouch()
Returns whether the browser support touch.
|
toString()
Returns a string of the StageEvent object.
|
Field Detail
<static>
StageEvent.ENTER_FRAME
Defines the value of the type property of a enter frame event object.
<static>
StageEvent.MOUSE_DOWN
Defines the value of the type property of a mousedown event object.
<static>
StageEvent.MOUSE_MOVE
Defines the value of the type property of a mousemove event object.
<static>
StageEvent.MOUSE_OUT
Defines the value of the type property of a mouseout event object.
<static>
StageEvent.MOUSE_OVER
Defines the value of the type property of a mouseover event object.
<static>
StageEvent.MOUSE_UP
Defines the value of the type property of a mouseup event object.
mouseX
The x accordinate of mouse postion on Stage.
mouseY
The y accordinate of mouse postion on Stage.
Method Detail
<static>
StageEvent.supportTouch()
Returns whether the browser support touch.
toString()
Returns a string of the StageEvent object.