Question

I have set the tab ViewNavigator atrributes visible="false" and includeInLayout="false". But the tab still appears.

Here's my code:

<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>

What am I doing wrong?
p.s. I am using Flash Builder 4.5 developing an Android mobile app.
Thanks in advance.

Was it helpful?

Solution

I have solved the problem using this.tabbedNavigator.removeItemAt(0);

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top