         var loaderInfo:LoaderInfo = LoaderInfo(event.target);
         addInitSystemManagerCompleteListener(loaderInfo.loader.contentLoaderInfo);
 
-//        Comment out for Beta2. Part of Per-Module Styles feature. 
-//        if (loaderInfo.parentAllowsChild && loaderInfo.childAllowsParent 
-//            && loaderInfo.content)
-//        {
-//            loaderInfo.content.addEventListener(Request.GET_FLEX_MODULE_FACTORY_REQUEST, 
-//                                            loader_content_getFlexModuleFactoryRequestHandler);            
-//        }
+        // Listen for requests to get the flex module factory.
+        if (loaderInfo.contentType == "application/x-shockwave-flash" &&
+            loaderInfo.parentAllowsChild && loaderInfo.childAllowsParent && 
+            loaderInfo.content)
+        {
+            loaderInfo.content.addEventListener(Request.GET_PARENT_FLEX_MODULE_FACTORY_REQUEST, 
+                                            loader_content_getFlexModuleFactoryRequestHandler);            
+        }
 
     }
 

        {
            var contentLoaderInfo:LoaderInfo = Loader(contentHolder).contentLoaderInfo
            removeInitSystemManagerCompleteListener(contentLoaderInfo);

//            Comment out for Beta2. Part of Per-Module Styles feature. 
//            if (contentLoaderInfo.content && contentLoaderInfo.parentAllowsChild && 
//                contentLoaderInfo.childAllowsParent)
//            {
//                contentLoaderInfo.content.removeEventListener(Request.GET_FLEX_MODULE_FACTORY_REQUEST, 
//                    loader_content_getFlexModuleFactoryRequestHandler);            
//            }
        }
        
    }

    {
        if (url)
            _source = url;
        
        unloadContent();
        
        isContentLoaded = false;
        brokenImage = false;
        useUnloadAndStop = false;
