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]> 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

