Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
Adobe Flex SDK 4.1 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Create a component with two states: state1 and state2.
2. For each state add a subcomponent.
3. In preinitialize/addedToStage event handler of a subcomponents in state1 of that component change state to the state2, where this component doesn't belong
Actual Results:
Components for both states are added, none removed
Expected Results:
Only compnents for the latest state added
Workaround (if any):
Wait for state change to complete. With callLater, for example.