Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK 3.4 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Create a TabNavigator like this:
<mx:TabNavigator width="400" height="400" selectedIndex="1">
<mx:Canvas label="One" />
<mx:Canvas label="Two" creationComplete="trace('created')" />
</mx:TabNavigator>
Actual Results: Second Canvas is created and the text 'created' is traced out, but the tab and selected child of TabNavigator are for the first Canvas and selectedIndex is 0.
Expected Results: selectedIndex should be 1 and the corresponding view and tab should be selected/displayed
Workaround (if any): Set selectedIndex from a creationComplete listener or some time afterwards. This is a regression of http://bugs.adobe.com/jira/browse/SDK-14157 and exists in 3.4.0.6955 and beyond.