Mega Code Archive
ColorPicker with Custom Field Names
import mx.events.ColorPickerEvent;
import mx.events.DropdownEvent;
public function openEvt(event:DropdownEvent):void {
descriptBox.text="";
}
public function changeEvt(event:ColorPickerEvent):void {
descriptBox.text=event.currentTarget.selectedItem.cName + ": " + event.currentTarget.selectedItem.cDescript;
}
.myStyle { swatchWidth:25; swatchHeight:25; textFieldWidth:95; }