[flexcoders] Singletons and Modules - Application domain problem

2009-08-15 Thread Everson Alves
Hello guys, I'm facing a weird problem. I'm working with flex Modules that are tide mxml components . Using ModuleManager to load the modules. If I load using moduleInfo.load(ApplicationDomain.currentDomain) it loads fine but as I want to use the module as independent sub applications and they use

Re: [flexcoders] Singletons and Modules - Application domain problem

2009-08-18 Thread Rick Winscot
Take a look at a good write-up by Steve Brownlee... http://www.fusioncube.net/index.php/cairngorm-sharing-a-common-modellocator- with-modules With the added security restrictions... Your singleton implementation may need to be hardened to prevent multiple instance... Etc. This example may help as

Re: [flexcoders] Singletons and Modules - Application domain problem

2009-08-18 Thread Everson Alves
I'll have a look at it say the outcome here. Thanks. On Tue, Aug 18, 2009 at 6:03 PM, Rick Winscot wrote: > > > Take a look at a good write-up by Steve Brownlee... > > > http://www.fusioncube.net/index.php/cairngorm-sharing-a-common-modellocator-with-modules > > With the added security restrictio

Re: [flexcoders] Singletons and Modules - Application domain problem

2009-08-18 Thread Everson Alves
It's a good post but doesn't solve my problem without a lot of changes in the whole application. What i was really wanting from here is to know why I can't load the modules into different application domains. I'll use a ModelLocator factory per conversation instead of Singleton, but that requires c

RE: [flexcoders] Singletons and Modules - Application domain problem

2009-08-18 Thread Alex Harui
ns and Modules - Application domain problem It's a good post but doesn't solve my problem without a lot of changes in the whole application. What i was really wanting from here is to know why I can't load the modules into different application domains. I'll use a

Re: [flexcoders] Singletons and Modules - Application domain problem

2009-08-18 Thread Everson Alves
verson Alves > *Sent:* Tuesday, August 18, 2009 4:38 PM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] Singletons and Modules - Application domain > problem > > > > > > It's a good post but doesn't solve my problem without a lot of changes in >

RE: [flexcoders] Singletons and Modules - Application domain problem

2009-08-18 Thread Alex Harui
Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Everson Alves Sent: Tuesday, August 18, 2009 5:28 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Singletons and Modules - Application domain problem The problem is th

Re: [flexcoders] Singletons and Modules - Application domain problem

2009-08-18 Thread Everson Alves
ttp://www.adobe.com/> > > Blog: http://blogs.adobe.com/aharui > > > > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *Everson Alves > *Sent:* Tuesday, August 18, 2009 5:28 PM > > *To:* flexcoders@yahoogroups.com > *Subject:* R

RE: [flexcoders] Singletons and Modules - Application domain problem

2009-08-18 Thread Alex Harui
/> Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Everson Alves Sent: Tuesday, August 18, 2009 10:01 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Singletons and Modules - Application domain problem I did t