             tempApplicationDomain = new ApplicationDomain(currentDomain); 
         }
             
-        module.load(tempApplicationDomain, null, bytes, moduleFactory);
+        module.load(tempApplicationDomain, 
+                    trustContent ? SecurityDomain.currentDomain : null, 
+                    bytes, 
+                    moduleFactory);
     }
 
     /**

 *  only a single copy of the module SWF file is transferred over the network by using the
 *  ModuleManager singleton.</p>
 *  
 *  @see mx.modules.ModuleManager
 *  @see spark.modules.Module
 *  @see mx.controls.SWFLoader

{
import flash.events.Event;
import flash.system.ApplicationDomain;
import flash.system.SecurityDomain;
import flash.utils.ByteArray;
import mx.core.ContainerCreationPolicy;
import mx.core.FlexVersion;
