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

Styles and popups with Flex 4

If you use modules/sub apps and pop ups(Alert, ToolTip, TitleWindow, etc.) then you probably would be interested in some of the api changes that were introduced by the “Per-Module Style Management” feature in Flex 4. As I mentioned in my previous posts that StyleManager is no longer a singleton class and all modules and . . . → Read More: Styles and popups with Flex 4

StyleManager in Flex 4

In my previous post stylish modules and sub applications, I mentioned that StyleManager is not going to be a singleton class in Flex 4. There are some more StyleManager related api changes that you should be aware of.

StyleManager now implements IStyleManager2. If you recompile your Flex 3 app using Flex 4 SDK, you . . . → Read More: StyleManager in Flex 4

Advertisement

Advertisement