maybe this could do
var red:Number = 0xFF0000;
trace(red.toString(16));
ciao
On 9/15/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
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"
Thanks,
Jason Merrill
Bank of America
Learning & Organization Effectiveness - Technology Solutions
_______________________________________________
[email protected]
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
_______________________________________________
[email protected]
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