Class List

Class StageEvent

Extends EventBase.
A StageEvent object is dispatched whenever enter frame event or mouse events occur on Stage.

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructor.
Field Summary
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 Summary
Method Attributes Method Name and Description
<static>  
StageEvent.supportTouch()
Returns whether the browser support touch.
 
Returns a string of the StageEvent object.
Methods borrowed from class EventBase:
clone, dispose
Class Detail
StageEvent()
Constructor.
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.

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jul 25 2011 15:02:39 GMT+0800 (CST)