0
我有一个Flex TabbedViewNavigatorApplication编程开关
随着两个自定义导航:
<s:navigators>
<homepagenavigator:HomePageNavigatorView label="Home" id="homePageNavigator" width="100%" height="100%" />
<categorylistpagenavigator:CategoryListPageNavigatorView label="List of Categories" id="categoryListPageNavigatorView" width="100%" height="100%" />
</s:navigators>
现在我想以编程方式的基础上,我的应用程序里面的一些活动,航海家之间切换。
在计算器上唯一的问题,我发现这是Switch between Flex Tabbed ViewNavigators
,但如果你是你的Main.mxml, 内工作的解决方案只适用要么是使用navigator.selectedIndex = 1;
(或在我的情况tabbedNavigator.selectedIndex = 1;
)或使用TabbedViewNavigator(navigator.parentNavigator).selectedIndex = 1;
,但我不知道如何访问导航我的应用程序里,而不是在Main.mxml