You didn't say what isn't working, but I'm guessing you're hitting shared code issues. See my blog for an alternative solution (blogs.adobe.com). If you use the cached RSL you shouldn't have this issue either.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jhonny Everson Sent: Thursday, December 20, 2007 9:11 PM To: [email protected] Subject: [flexcoders] Re: Problems with Modules Another thing to note is that the modules are defined in actionscript classes that extend MXML componentes. On 12/21/07, Jhonny Everson < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Hi, I'm dividing an application into modules, I load them in the main application. My problems is that it's only working when I put instances of controls somewere in the main application. Example: there's a module that uses ColorPicker, it only works if I put something like 'var a:ColorPicker' into main application. I've assured that it only calls any module after the module is ready. It also happened to ComboBox, MenuBar and some custom classes. Is that correct or am I missing something? I have 'Optimize for application' checked under Module SWF size. -- Jhonny Everson -- Jhonny Everson

