Affects Version/s: Adobe Flex SDK Previous
Fix Version/s: Adobe Flex SDK Previous
Component/s: Flash Integration
Environment:Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Firefox 3.x
Language Found: English
"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"
The first time you get state it returns as null.
The UIMovieClip should realize that an animation played which ended in "state1" and update the currentState of the component accordingly.
Workaround (if any):