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

 *  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

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

    /**
