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