MACROMEDIA FLEX-GETTING STARTED WITH FLEX User Manual Page 75

  • Download
  • Add to my manuals
  • Print
  • Page
    / 148
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 74
Figure 4-16. An example menu
There
is also a handy control called ApplicationControlBar
that gives a nice-looking control set along the top of the win-
dow. Example 4-17 is the code for a sample ApplicationCon
trolBar.
Example 4-17. Appbar.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical">
<mx:ApplicationControlBar dock="true">
<mx:ButtonBar dataProvider="{['People','Places',
'Things']}" />
</mx:ApplicationControlBar>
</mx:Application>
When I launch this example in Flex Builder I see the nice pre-
sentation shown in Figure 4-17.
Menus | 59
Page view 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 147 148

Comments to this Manuals

No comments