Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Firefox 3.x
Language Found: English
Description
From SDK-20710:
"If you had an animation before settling in to state1, the component wouldn't know you were in state1. This is a regression from before where every frame we checked to see if there was a label on the frame, and if so, that'd become your currentState. Now, we check the first frame that's loaded up and only update currentState if it's explicitly set."
Steps to reproduce:
1. Run attached SWF file
2. Click "1. get state"
3. Click "2. to state 1"
4. Click "3. get state"
Actual Results:
The first time you get state it returns as null.
Expected Results:
The UIMovieClip should realize that an animation played which ended in "state1" and update the currentState of the component accordingly.
Workaround (if any):