Hi list

I'm creating a popup using this code:

        var lookupWindow:IFlexDisplayObject = PopUpManager.createPopUp(MyApp,  
AddressLookup, true);
        PopUpManager.centerPopUp(lookupWindow);

So far so good. This form has two text inputs. If I click in one and  
then hit the tab key Flex throws this error:

ArgumentError: Error #2025: The supplied DisplayObject must be a child  
of the caller.
        at flash.display::DisplayObjectContainer/getChildIndex()
        at mx.core::Container/getChildIndex()[C:\dev\flex_201_gmc\sdk 
\frameworks\mx\core\Container.as:2442]
        at fl.managers::FocusManager/getChildIndex()
        at fl.managers::FocusManager/sortByDepth()
        at Array$/_sort()
        at Array/http://adobe.com/AS3/2006/builtin::sort()
        at fl.managers::FocusManager/sortFocusableObjects()
        at fl.managers::FocusManager/keyDownHandler()

and I have NO idea why. Anyone able to help?

Guy

Reply via email to