[flexcoders] Loading Modules in Separate Application Domains

2009-05-14 Thread colin.shreffler
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

Re: [flexcoders] Loading Modules in Separate Application Domains

2009-05-14 Thread Manish Jethani
On Fri, May 15, 2009 at 2:04 AM, colin.shreffler cshreff...@gmail.com wrote: 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

RE: [flexcoders] Loading Modules in Separate Application Domains

2009-05-14 Thread Alex Harui
To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Loading Modules in Separate Application Domains On Fri, May 15, 2009 at 2:04 AM, colin.shreffler cshreff...@gmail.commailto:cshreffler%40gmail.com wrote: ModuleManager.getModule(_url).load(new ApplicationDomain(), SecurityDomain.currentDomain