Packagecom.yahoo.astra.mx.events
Classpublic class ColorRequestEvent
InheritanceColorRequestEvent Inheritance flash.events.Event

A control may request a new color value.

See also

com.yahoo.astra.mx.controls.colorPickerClasses.IColorRequester


Public Properties
 PropertyDefined by
  currentColor : uint
The color currently displayed by the IColorViewer.
ColorRequestEvent
Public Methods
 MethodDefined by
  
ColorRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, currentColor:uint = 0xFFFFFFFF)
Constructor.
ColorRequestEvent
Public Constants
 ConstantDefined by
  REQUEST_COLOR : String = "requestColor"
[static] Constant defining the event type fired when a IColorRequestor requests a new color.
ColorRequestEvent
Property detail
currentColorproperty
public var currentColor:uint

The color currently displayed by the IColorViewer.

Constructor detail
ColorRequestEvent()constructor
public function ColorRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, currentColor:uint = 0xFFFFFFFF)

Constructor.

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
 
currentColor:uint (default = 0xFFFFFFFF)
Constant detail
REQUEST_COLORconstant
public static const REQUEST_COLOR:String = "requestColor"

Constant defining the event type fired when a IColorRequestor requests a new color.