A friend asked why the spark button doesn’t support icons like the mx button? Well now it does with the upcoming hero release.
Here a quick example:
<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"> <fx:Declarations> <s:RadioButtonGroup id="rbg"/> </fx:Declarations> <s:layout> <s:VerticalLayout paddingLeft="5" paddingRight="5" /> </s:layout> <s:HGroup> <s:RadioButton label="left" value="left" group="{rbg}" selected="true"/> <s:RadioButton . . . → Read More: Setting icon on spark button