nirasiva
10-21-2011, 10:41 AM
Hai
I passed dynamically value for color code But Its number format,but i need Hexadecimal color code?how can i convert numer format to Hexadecimal format in as3?
here my code
var tf:TextField = new TextField();
tf.text ="jkg"
tf.textColor = chatData.user;///Here Dynamically i passed Its like Number format(16777215),i need hexa Decimal format.
listChat.addChild(tf);
I passed dynamically value for color code But Its number format,but i need Hexadecimal color code?how can i convert numer format to Hexadecimal format in as3?
here my code
var tf:TextField = new TextField();
tf.text ="jkg"
tf.textColor = chatData.user;///Here Dynamically i passed Its like Number format(16777215),i need hexa Decimal format.
listChat.addChild(tf);