header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Harry
Points:0
Posts:0
Answered

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.



1
HMS
Points: 240
Posts:0
Accepted Answer
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);"/>


2
Maddox
Points: 0
Posts:0
7/6/2010 2:27:03 AM



how are you trying to get the colorPicker value ?


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 2+1 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions