Hi Jason, could this be what you're looking for?

var myColor:Number = 0xff6600;
t.text = String(myColor.toString(16));
//ff6600
// or...
//t.text = myColor;
//16737792




Similar to Mike's thread, is there a function out there someone has
written to convert a regular numerical value back to its equivalent hex
value?  

For example:

var myColor:Number = 0xff6600;
myText_txt.text = myColor //shows converted to "16737792", but 
                                          //need it to display as
"ff6600"

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to