Setting the data provider of a Flex ButtonBar control to a ViewStack container
The following example shows how you can set the data provider of a ButtonBar control in Flex to a ViewStack container.
Full code after the jump.
View MXML
<mx:application mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalalign="middle" backgroundcolor="white"> <mx:buttonbar id="buttonBar" dataprovider="{viewStack}" buttonheight="32"> <mx:viewstack id="viewStack"> </mx:vbox> </mx:vbox></mx:vbox></mx:viewstack></mx:buttonbar></mx:application> |
10:27 AM
|
Labels:
Flex Menu Samples,
Flex Samples
|
This entry was posted on 10:27 AM
and is filed under
Flex Menu Samples
,
Flex Samples
.
You can follow any responses to this entry through
the RSS 2.0 feed.
You can leave a response,
or trackback from your own site.
0 comments:
Post a Comment