Frage

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.

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top