2014-01-15 35 views
0

我已經設置了選項卡ViewNavigator atrributes visible="false"includeInLayout="false"。 但該選項卡仍然出現。Flex:隱藏TabNavigator中的選項卡

這裏是我的代碼:

<s:navigators> 
    <s:ViewNavigator id="loginTab" label="Login" firstView="views.LoginView" width="100%" height="100%" visible="false" includeInLayout="false"/> 
    <s:ViewNavigator label="VIDEOS" firstView="views.VideosView" width="100%" height="100%" icon="@Embed('assets/thumbs/video.png')"/> 
    <s:ViewNavigator label="EBOOKS" firstView="views.EbooksView" width="100%" height="100%" icon="@Embed('assets/thumbs/ebook.png')"/> 
</s:navigators> 

我在做什麼錯?
p.s.我正在使用Flash Builder 4.5開發Android移動應用程序。
在此先感謝。

回答

1

我已經解決了這個問題使用this.tabbedNavigator.removeItemAt(0);

相關問題