Convert color style to String : Style Color « Style « Flex
- Flex
- Style
- Style Color
Convert color style to String

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Button id="button" label="Example" color="red" />
<mx:TextInput text="{button.getStyle('color').toString(16)}" />
</mx:Application>
Related examples in the same category