Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 4.0 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1. Build the TreeExample code in mx:Tree
2. Select "Outbox"
3. Expand "Inbox"
4. Select "Marketing"
Actual Results:
"Marketing" is not selected and the "Selected Item" remains "Outbox"
Expected Results:
"Marketing" should be selected.
This works correctly in flex 3, but fails in flex 4.
Workaround (if any):
In flex 3, the openDuration parameter defaults to 250. In flex 4, it defaults to zero. The code to correct the indexing when a tree branch is opened is triggered when the tweening is complete. Because an openDuration of zero means there is no tweening, the re-indexing never occurs. To workaround the problem, set the openDuration to something non-zero. "1" works if you still want the impression of no tweening.