Provides a selection from a range of colors.
Available since
1.4.0
.Variables
selectedColor:Null<UInt>
The currently selected color. Returns null
if no color is selected.
When the value of the selectedColor
property changes, the component
will dispatch an event of type Event.CHANGE
.
The following example selects a specific color:
control.selectedColor = 0xff0000;
The following example clears the currently selected color:
control.selectedDate = null;
Available since
1.4.0
.See also: