toString(16) Cheers
M > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Merrill, Jason > Sent: 15 September 2006 13:01 > To: Flashcoders mailing list > Subject: [Flashcoders] Convert Regular Number back to Hex value? > > 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 > > > > > _______________________________________________ > 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 > _______________________________________________ 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