apache-flexflex4flex3skinninghalo

Skin Flex 4 combobox to look like Flex 3 combobox


As I have migrated my application to Flex 4 recently, I want to utilize the <s:Combobox> component in my application rather than <mx:Combobox>. The problem is that the look and feel of both are different.

How can I make the <s:Combobox /> component look (all skinning e.g. hover over, click, outline) exactly the same as <mx:Combobox />?

More specifically, I want to apply the Halo theme to a DropdownList component. Is that possible?


Solution

  • You could just set the default skin for your application to Hero instead of Spark. Assuming you're using Flash Builder:

    1. Click on Project -> Properties.
    2. Click Flex Theme from the properties list.
    3. Expand Adobe Themes - Halo and select the Halo theme.