[ https://issues.apache.org/jira/browse/FLEX-34536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
spiros aggelopoulos updated FLEX-34536: --------------------------------------- Attachment: FLEX-34536.txt Patch File > 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 > Attachments: FLEX-34536.txt > > > 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)