Converting string to uint in actionscript / Flex?

Color is not a property, it is a style. You need to define the style like this: Style(name="labelColor", type="uint", format="Color" ) (enclose it in tag if you define it directly in MXML). You then need to add some ActionScript to handle this style and apply it to whichever control you need, please refer to livedocs.adobe.com/flex/3/html/help.html... for more information.

Just what I needed! – mmattax Sep 25 '08 at 12:06.

Here you are 2 of my utils functions: public static function convertUintToString( color:uint ):String { return color. ToString(16); } public static function convertStringToUint(value:String, mask:String):uint { var colorString:String = "0x" + value; var colorUint:uint = mx.core.Singleton. GetInstance("mx.

Styles::IStyleManager2"). GetColorName( colorString ); return colorUint; }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions