Setting icon on spark button

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

RSL enhancements in Hero

While RSLs help to reduce the size for your Flex applications, they can sometimes be tricky to use. So to simplify the usage of RSLs, we made some enhancements in the upcoming Flex SDK release (code-named Hero).

These enhancements should provide the following benefits:

Applications will only load RSLs that are required Modules (and . . . → Read More: RSL enhancements in Hero

Advertisement

Advertisement