Allowing user to chose look & feel increases application value and user experience. The main issue is not to blow the application size and themes development time.
Use open-source FTheme library, download free looks from the ftheme.com or create own in a few minutes.
1. Download corresponding version of library from
flex theme downloads page into project
libs folder
2. Add
-theme+=libs/ftheme1.1sdk4.
X.swc compiler option
3. Unzip
testLooks.zip into
bin-debug
4. Paste this into your application MXML:
<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"
xmlns:components="com.fTheme.components.*"
preinitialize="{new FThemeController()}">
<fx:Script>
<![CDATA[
import com.fTheme.FThemeController;
]]>
</fx:Script>
<s:HGroup paddingBottom="20" paddingLeft="20" paddingRight="20" paddingTop="20" gap="10">
<components:LookSelector direction="vertical"/>
<components:Sample/>
</s:HGroup>
</s:Application>
5. Compile and launch!
6. Before publishing or selling your application please ensure that it uses looks with appropriate licenses (some do not allow commercial use)
7. Browse Gallery for new looks
+