Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Create a TabbedViewNavigator and set its children using the <s:navigators> tag
<s:TabbedViewNavigator width="100%" height="100%" id="tabNav" >
<s:navigators>
<s:ViewNavigator width="100%" height="100%" label="What's On" firstView="views.View1" />
<s:ViewNavigator width="100%" height="100%" label="Venue Info" firstView="views.View2" />
<s:ViewNavigator width="100%" height="100%" label="Contact" firstView="views.View3"/>
</s:navigators>
</s:TabbedViewNavigator>
Actual Results:
View 3 is visible at launch even though the navigator thinks the selectedIndex is 0. Click between the first two tabs doesn't seem to remove the view either. You need to click on the third tab then the other two.
Expected Results:
View 1 should be visible
Workaround (if any):
Don't use the navigators tag and instead define children like so:
<s:TabbedViewNavigator width="100%" height="100%" id="tabNav" >
<s:ViewNavigator width="100%" height="100%" label="What's On" firstView="views.View1" />
<s:ViewNavigator width="100%" height="100%" label="Venue Info" firstView="views.View2" />
<s:ViewNavigator width="100%" height="100%" label="Contact" firstView="views.View3"/>
</s:TabbedViewNavigator>