Hi, community! Thank you so much for your continued support of Feathers. I truly couldn't do it without your great feedback. Today, I'm proud to present the official release of Feathers 3.1.0.
Feathers UI 3.1.0
Download Feathers UI 3.1.0. This release includes support for
starling.text.TextFormat on all components with text renderers, a new TabNavigator component, and an architecture change to ensure that styles set outside of a theme may no longer be replaced by the theme.
Let's check out the new styling features in the following example:
new MetalWorksMobileTheme(); var button:Button = new Button(); button.label = "Hello World"; button.fontStyles = new TextFormat( "_sans", 20, 0xff0000 ); button.downSkin = new Quad( 1, 1, 0xff0000 ); this.addChild( button );
You can now use
starling.text.TextFormat to customize font styles on Feathers components, no matter which text renderer you are using. You should see that we can pass the
TextFormat directly to the
Button, instead of its text renderer in a
labelFactory. Now, you should only need a factory to create the text renderer if you want to use a different text renderer than the default one.
(Don't worry! You are not required to switch to
starling.text.TextFormat when you upgrade to Feathers 3.1. Your existing code that uses classes like
feathers.text.BitmapFontTextFormat will continue to work as a more advanced way to customize font styles.)
Additionally, in the example code above, you'll notice that we're setting the
downSkin properties before the component has been styled by the theme. If you set a "style property" outside of the theme, it cannot be replaced by the theme like it could in previous versions of Feathers. Properties that may be used for styling are now in their own section of the API reference that is separate from other properties. For example, take a look at the list of Button styles.
Please read the Feathers 3.1 Migration Guide for complete details about these new styling features.
This version of Feathers UI has the following requirements:
- Adobe AIR 23.0 or newer for mobile and desktop apps
- Adobe Flash Player 19.0 or newer for web browser apps
- Starling Framework 2.1
Feathers SDK 3.1.0
If you previously installed the Feathers SDK Manager, you will find that Feathers SDK 3.1.0 has been added to the list of releases. This version of the SDK includes all of the changes in Feathers UI mentioned above, plus a new
TabNavigatorApplication type and a couple of new MXML examples. For complete details, please take a look at the Feathers SDK release notes.
I look forward to receiving your feedback. Thank you for developing with Feathers!