O'Reilly logo

Flash Development for Android Cookbook by Joseph Labrecque

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring the ActionBar within a Flex mobile project for use with ViewNavigator

The Flex mobile ViewNavigatorApplication and TabbedViewNavigatorApplication contain a special control called the ActionBar, which contains three editable child containers. We can define the contents of these child containers by modifying the MXML in our project documents.

How to do it…

Modify the document MXML to customize our ActionBar contents. In this example, we will define some interactive image controls and provide a rich title image across our application ViewStack:

  1. When we first configure a new Flex mobile project, our main MXML document will appear as follows:
    <?xml version="1.0" encoding="utf-8"?> <s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required