7/6/2010 12:47:05 AM
Title:
convert to hex code
I have a problem.When I am getting a color hex code from a colorPicker control.
It is coming as some long integer.can we convert it back to its hex form.
7/6/2010 2:12:59 AM
hey use colorpicker in flex like this. You can get the value using "selectedItem" in colorpicker
public function changeEvt(event:ColorPickerEvent):void {
trace("Selected Item: "+ event.currentTarget.selectedItem);
}
<mx:ColorPicker id="colorPic" change="changeEvt(event);"/>
7/6/2010 2:27:03 AM
how are you trying to get the colorPicker value ?