Packagelunas.events
Classpublic class ButtonEvent
InheritanceButtonEvent Inheritance ComponentEvent Inheritance BasicEvent Inheritance flash.events.Event

Invoked in the buttons or thumbs.



Public Properties
 PropertyDefined By
 InheritedCHANGE : String = change
[static] Defines the value of the type property of a 'change' event object.
ComponentEvent
 InheritedCLEAR : String = clear
[static] Defines the value of the type property of a 'clear' event object.
ComponentEvent
  CLICK : String = click
[static] Defines the value of the type property of a click event object.
ButtonEvent
 Inheritedcontext : *
Determinates the optional context of this event.
BasicEvent
  DESELECT : String = deselect
[static] Defines the value of the type property of deselect event object.
ButtonEvent
  DISABLED : String = disabled
[static] Defines the value of the type property of a disabled component.
ButtonEvent
  DOUBLE_CLICK : String = doubleClick
[static] Defines the value of the type property of a doubleClick event object.
ButtonEvent
  DOWN : String = down
[static] Defines the value of the type property of a down event object.
ButtonEvent
  DRAG : String = drag
[static] Defines the value of the type property of a drag event object.
ButtonEvent
 InheritedENABLED : String = enabled
[static] Defines the value of the type property of an 'enabled' component.
ComponentEvent
 InheritedENTER : String = enter
[static] Defines the value of the type property of an 'enter' component.
ComponentEvent
 InheritedHIDE : String = hide
[static] Defines the value of the type property of an 'hide' component.
ComponentEvent
 InheritedICON_CHANGE : String = iconChange
[static] Defines the value of the type property of an icon change event object.
ComponentEvent
 InheritedLABEL_CHANGE : String = labelChange
[static] Defines the value of the type property of a label change event object.
ComponentEvent
  MOUSE_DOWN : String = mouseDown
[static] Defines the value of the type property of a mouseDown event object.
ButtonEvent
  MOUSE_MOVE : String = mouseMove
[static] Defines the value of the type property of a mouseMove event object.
ButtonEvent
  MOUSE_OUT : String = mouseOut
[static] Defines the value of the type property of a mouseOut event object.
ButtonEvent
  MOUSE_OVER : String = mouseOver
[static] Defines the value of the type property of a mouseOver event object.
ButtonEvent
  MOUSE_UP : String = mouseUp
[static] Defines the value of the type property of a mouseUp event object.
ButtonEvent
 InheritedMOVE : String = move
[static] Defines the value of the type property of an 'move' component.
ComponentEvent
  OUT : String = out
[static] Defines the value of the type property of an out event object.
ButtonEvent
  OUT_SELECTED : String = outSelected
[static] Defines the value of the type property of an out selected event object.
ButtonEvent
  OVER : String = over
[static] Defines the value of the type property of an over event object.
ButtonEvent
  OVER_SELECTED : String = overSelected
[static] Defines the value of the type property of a over selected event object.
ButtonEvent
  PRESS : String = press
[static] Defines the value of the type property of a press event object.
ButtonEvent
 InheritedPROGRESS : String = progress
[static] Defines the value of the type property of a 'progress' event object.
ComponentEvent
  RELEASE : String = release
[static] Defines the value of the type property of a release event object.
ButtonEvent
  RELEASE_OUTSIDE : String = releaseOutside
[static] Defines the value of the type property of a releaseOutside event object.
ButtonEvent
 InheritedRESIZE : String = resize
[static] Defines the value of the type property of an 'resize' component.
ComponentEvent
  ROLL_OUT : String = rollOut
[static] Defines the value of the type property of a rollOut event object.
ButtonEvent
  ROLL_OVER : String = rollOver
[static] Defines the value of the type property of a rollOver event object.
ButtonEvent
 InheritedSCROLL : String = scroll
[static] Defines the value of the type property of an 'scroll' component.
ComponentEvent
  SELECT : String = select
[static] Defines the value of the type property of a select event object.
ButtonEvent
 InheritedSHOW : String = show
[static] Defines the value of the type property of an 'show' component.
ComponentEvent
  START_DRAG : String = startDrag
[static] Defines the value of the type property of a start drag event object.
ButtonEvent
  STOP_DRAG : String = stopDrag
[static] Defines the value of the type property of a stop drag event object.
ButtonEvent
 Inheritedtarget : Object
[override] Indicates the custom event target.
BasicEvent
 InheritedtimeStamp : uint
[read-only] Indicates the timestamp of the event.
BasicEvent
 Inheritedtype : String
[override] Returns the type of event.
BasicEvent
  UNSELECT : String = unselect
[static] Defines the value of the type property of an unselect event object.
ButtonEvent
  UP : String = up
[static] Defines the value of the type property of an 'up' event object.
ButtonEvent
Public Methods
 MethodDefined By
  
ButtonEvent(type:String, target:Object = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = 0)
Creates a new ButtonEvent instance.
ButtonEvent
  
clone():Event
[override] Returns the shallow copy of this event.
ButtonEvent
 Inherited
dispatch(channel:String = null):void
Dispatch the event with the global event flow.
BasicEvent
 Inherited
toString():String
[override] Returns the string representation of this event.
BasicEvent
Protected Methods
 MethodDefined By
 Inherited
setTimeStamp(time:uint = 0):void
Sets the timestamp of the event (used this method only in internal in the Event class).
BasicEvent
Property Detail
CLICKproperty
public static var CLICK:String = click

Defines the value of the type property of a click event object.

DESELECTproperty 
public static var DESELECT:String = deselect

Defines the value of the type property of deselect event object.

DISABLEDproperty 
public static var DISABLED:String = disabled

Defines the value of the type property of a disabled component.

DOUBLE_CLICKproperty 
public static var DOUBLE_CLICK:String = doubleClick

Defines the value of the type property of a doubleClick event object.

DOWNproperty 
public static var DOWN:String = down

Defines the value of the type property of a down event object.

DRAGproperty 
public static var DRAG:String = drag

Defines the value of the type property of a drag event object.

MOUSE_DOWNproperty 
public static var MOUSE_DOWN:String = mouseDown

Defines the value of the type property of a mouseDown event object.

MOUSE_MOVEproperty 
public static var MOUSE_MOVE:String = mouseMove

Defines the value of the type property of a mouseMove event object.

MOUSE_OUTproperty 
public static var MOUSE_OUT:String = mouseOut

Defines the value of the type property of a mouseOut event object.

MOUSE_OVERproperty 
public static var MOUSE_OVER:String = mouseOver

Defines the value of the type property of a mouseOver event object.

MOUSE_UPproperty 
public static var MOUSE_UP:String = mouseUp

Defines the value of the type property of a mouseUp event object.

OUTproperty 
public static var OUT:String = out

Defines the value of the type property of an out event object.

OUT_SELECTEDproperty 
public static var OUT_SELECTED:String = outSelected

Defines the value of the type property of an out selected event object.

OVERproperty 
public static var OVER:String = over

Defines the value of the type property of an over event object.

OVER_SELECTEDproperty 
public static var OVER_SELECTED:String = overSelected

Defines the value of the type property of a over selected event object.

PRESSproperty 
public static var PRESS:String = press

Defines the value of the type property of a press event object.

RELEASEproperty 
public static var RELEASE:String = release

Defines the value of the type property of a release event object.

RELEASE_OUTSIDEproperty 
public static var RELEASE_OUTSIDE:String = releaseOutside

Defines the value of the type property of a releaseOutside event object.

ROLL_OUTproperty 
public static var ROLL_OUT:String = rollOut

Defines the value of the type property of a rollOut event object.

ROLL_OVERproperty 
public static var ROLL_OVER:String = rollOver

Defines the value of the type property of a rollOver event object.

SELECTproperty 
public static var SELECT:String = select

Defines the value of the type property of a select event object.

START_DRAGproperty 
public static var START_DRAG:String = startDrag

Defines the value of the type property of a start drag event object.

STOP_DRAGproperty 
public static var STOP_DRAG:String = stopDrag

Defines the value of the type property of a stop drag event object.

UNSELECTproperty 
public static var UNSELECT:String = unselect

Defines the value of the type property of an unselect event object.

UPproperty 
public static var UP:String = up

Defines the value of the type property of an 'up' event object.

Constructor Detail
ButtonEvent()Constructor
public function ButtonEvent(type:String, target:Object = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = 0)

Creates a new ButtonEvent instance.

Parameters
type:String — the string type of the instance.
 
target:Object (default = null) — the target of the event.
 
context:* (default = null) — the optional context object of the event.
 
bubbles:Boolean (default = false) — indicates if the event is a bubbling event.
 
cancelable:Boolean (default = false) — indicates if the event is a cancelable event.
 
time:Number (default = 0) — this optional parameter is used in the eden deserialization to copy the timestamp value of this event.
Method Detail
clone()method
override public function clone():Event

Returns the shallow copy of this event.

Returns
Event — the shallow copy of this event.