You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "spiros aggelopoulos (JIRA)" <ji...@apache.org> on 2014/09/11 15:00:34 UTC
[jira] [Created] (FLEX-34536) IFocusManagerContainer with own
FocusManager throw ArgumentError: Error #2025
spiros aggelopoulos created FLEX-34536:
------------------------------------------
Summary: IFocusManagerContainer with own FocusManager throw ArgumentError: Error #2025
Key: FLEX-34536
URL: https://issues.apache.org/jira/browse/FLEX-34536
Project: Apache Flex
Issue Type: Bug
Components: Focus Manager
Affects Versions: Apache Flex 4.13.0
Reporter: spiros aggelopoulos
Every Container implement the IFocusManagerContainer interface.
the SDK allows only the main application and Popups window (PopupManager) to host its own FocusManager because the SystemManager tries to find the container in SystemManager.popUpChildren or in SystemManager.
In any other case it throws argument error 2025.
This prevents the design of a diferente FocusManagment System eg:in MDI enviroment whitch every mdi window has it own focus loop.
Error:
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display::DisplayObjectContainer/getChildIndex()
at mx.managers::SystemManager/getChildIndex()[/Users/aharui/release4.13.0/frameworks/projects/framework/src/mx/managers/SystemManager.as:1831]
at mx.managers.systemClasses::ActiveWindowManager/mouseDownHandler()[/Users/aharui/release4.13.0/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as:521]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.managers::SystemManager/mouseEventHandler()[/Users/aharui/release4.13.0/frameworks/projects/framework/src/mx/managers/SystemManager.as:2926]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)