1 Reply Latest reply on Dec 1, 2009 9:16 PM by Flex harUI

    [flexcoders] Error #2025 - UIMovieclip and Focus Manager


      Hello Everybody,



      I'm getting a runtime Error #2025 when I try to use an UIMovieclip into a Flex Application.


      The issue happens when the key tab is pressed and It seems has being caused by the Focus Manager.


      I found some threads over the internet but nothing really concret that could give me some idea about how to solve it.


      1. ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
      2. at flash.display::DisplayObjectContainer/getChildIndex()
      3. at mx.core::Container/getChildIndex()
      4. at mx.containers::Panel/getChildIndex()
      5. at fl.managers::FocusManager/::getChildIndex()
      6. at fl.managers::FocusManager/::sortByDepth()
      7. at fl.managers::FocusManager/::sortByTabIndex()
      8. at Array$/Array::_sort()
      9. at Array/http://adobe.com/AS3/2006/builtin::sort()
      10. at fl.managers::FocusManager/::sortFocusableObjectsTabIndex()
      11. at fl.managers::FocusManager/::sortFocusableObjects()
      12. at fl.managers::FocusManager/::keyDownHandler()



      Any help will be welcome


      Best Regards,
      Eduardo Dias