Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK 4.5 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Safari
Language Found: English
Description
Steps to reproduce:
1. Create a custom component
2. Have a method call focusManager.setFocus(focusManager.getNextFocusManagerComponent());
3. RTE when method is run
Actual Results:
RTE
Expected Results:
getNextFocusManagerComponent() should return next focus component.
Workaround (if any):
None found yet
In Flex 3 focusManager.moveFocus(FocusRequestDirection.FORWARD); was used
This is no longer present in Flex 4.
Stack trace:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::FocusManager/getNextFocusManagerComponent()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\FocusManager.as:1471]
at com.ceros.pageEditor.view.components::PageNumberNavigator/onFocusIn()[/Users/robmcm/Documents/Adobe Flash Builder 4/PageEditor/src/com/ceros/pageEditor/view/components/PageNumberNavigator.mxml:58]
at com.ceros.pageEditor.view.components::PageNumberNavigator/___PageNumberNavigator_TextInput1_focusIn()[/Users/robmcm/Documents/Adobe Flash Builder 4/PageEditor/src/com/ceros/pageEditor/view/components/PageNumberNavigator.mxml:3]