Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Adobe Flex SDK 4.5 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Compile or run the attached code (Bug.mxml is the main app).
2. Run it.
3. Click State1, then State2, then State3, then State1.
Actual Results:
Rectangle becomes green (it is in CompState2).
Expected Results:
Rectangle should be red, which corresponds to CompState1. The component has this code:
<local:MyComp currentState="CompState1" currentState.State2="CompState2" currentState.State3="CompState3"/>
Thus, when we go from State3 to State1, the State3 override should be removed and we should restore the currentState that we had before applying any overrides, which is CompState1.
Workaround (if any):