I'm trying to build a portal Flex Application that loads 1 or modules at run time. I need each of these modules to run in their own ApplicationDomain.
The loading application AND the modules are ALL being referenced via http and are all in the same domain. Therefore I'm using the following code to load each module: ModuleManager.getModule(_url).load(new ApplicationDomain(), SecurityDomain.currentDomain) As soon as I do this however, I am getting the following error: "SWF is not a loadable module" If I use ModuleManager.getModule(_url).load() it works fine but then I have the issue of each module running in a shared ApplicationDomain which isn't what I want. I've read quite a few posts about domain policy files and allowDomain() and I've tried all that but nothing is working. Does anyone know how to get this to work? I've heard that there are developers out there using the Loader.loadBytes() method to accomplish the same thing but I can't find an example of this. Any help would be GREATLY appreciated.

