 import mx.core.IChildList;
 import mx.core.IFlexDisplayObject;
 import mx.core.IFlexModule;
+import mx.core.IFlexModuleFactory;
 import mx.core.IInvalidating;
 import mx.core.ISWFLoader;
 import mx.core.IUIComponent;

              IUIComponent(window).document == null)
              IUIComponent(window).document = IUIComponent(parent).document;

        if (parent is IUIComponent && IUIComponent(parent).document is IFlexModule &&
              window is UIComponent && UIComponent(window).moduleFactory == null)
              UIComponent(window).moduleFactory = IFlexModule(IUIComponent(parent).document).moduleFactory;

        var sm:ISystemManager = getTopLevelSystemManager(parent);
        var children:IChildList;
        var topMost:Boolean;

     *  <code>PopUpManagerChildList.POPUP</code>, 
     *  or <code>PopUpManagerChildList.PARENT</code> (default).
     *
     *  @param moduleFactory The moduleFactory where this pop-up should look for
     *  its embedded fonts and style manager.
     * 
     *  @see PopUpManagerChildList
     *  
     *  @langversion 3.0
