我使用Flex Builder
,Adobe AIR
开发我的应用程序。我想创建类似于Adobe Reader
左侧菜单。我该怎么做?
答案 0 :(得分:0)
我现在不在我的办公桌附近,但也许就像“SplitViewNavigator'可能是一个很好的方法。
从提供的链接粘贴的代码:
<s:SplitViewNavigator id="svn" width="100%" height="100%">
<s:ViewNavigator id="leftNav" width="30%" height="100%" firstView="views.LeftView"/>
<s:ViewNavigator id="rightNav" width="100%" height="100%" firstView="views.RightView"/>
</s:SplitViewNavigator>
DevGirl有一篇很好的文章,有一个很好的例子,你可以用它来作为你想要实现的目标的基础。
http://devgirl.org/2011/12/01/flex-mobile-development-splitviewnavigator-tutorial/