Any ideas??? --- In [email protected], "maxym.hryniv" <[EMAIL PROTECTED]> wrote: > > Hi, coders. > I'm trying to create multimodule (multi swf) application. I'm using > next approach: I create flex library for every component. In runtime > main application loads needed library then gets needed component > definition using ApplicationDomain.getDefinition(). > I have next issue: some of components are not properly initialized > and null pointer exception is thrown. For each of these components > flex generates _{packageName}_{className}WatcherSetupUtil.as class. > Other components work fine. > I found some logic in SystemManager that can correct this: > // trace("initializing mixin " + mixinList[i]); > var c:Class = Class(getDefinitionByName(mixinList[i])); > c["init"](this); > If I add such logic for every class that has *WatcherSetupUtil.as > generated, everything works fine. > > Of course I can try to initialize *WatcherSetupUtil for every class > that I get from external ApplicationDomain, but if component has > child component with *WatcherSetupUtil it will not work. Because I > cannot proxy child creation in mxml component. > > So the question is: "How i can determine classes with > *WatcherSetupUtil.as generated in runtime?", and "What the *** is > WatcherSetupUtil? I cannot find any reference in help, livedocs, > flexcoders, google.". > Thanx in advance for any help, ideas. >
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

