Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Browser: Firefox 3.x
Language Found: English
Description
Focus events work in Flex 4 Beta 2, but doesnt work (at least) from last stable nightly build 4.0.0.13875. I've tested it also in latest Flex 4 nightly build 4.0.0.14173, it doesnt work.
Steps to reproduce:
1. Create empty s:Application
2. Add s:TextInput or s:Button and add focusIn and focusOut event
3. check events (with traces)
Actual Results:
focusIn works correcly, focusOut works only If user has select on some other component which receive focus (TextInput, button) etc... But when user click to the Application (background), no focusIn for Application and no focusOut from lastly focused component is dispatched
Expected Results:
FocusIn works for s:Application, focusOut from any component works when user click on Application background
Workaround (if any):
add any functional component which receive focusIn event to the background of s:Application. Like <s:Button width="100%" height="100%"/>