2014-01-15 196 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);

相关问题