|
From Paul (who wrote the binding support
in 2.0) For now, analzying the
catalog.xml files seems like it will work fine. Alternatively, he could
compile an application with the components in it and then look for the
WatcherSetupUtil's in the generated SystemManager class. Either way, once the
list is discovered, manually initializing the WatcherSetupUtil classes after
calling ApplicationDomain.getDefinition()
seems like the only option to simulate what a generated SystemManager would do
for a component used in the top level SWF. As far as why these classes
are initialized in the generated SystemManager, we do this because we need them
to be initialized pretty much at the same time the component class is
initialized, but we can't reference the WatcherSetupUtil class in the
component, because the WatcherSetupUtil can't be generated until after the
component class is done compiling. This is the replacement for the two pass
compilation in Flex 1.X. The frameEndHandler is not important. It's just
where the SystemManager happens to do it's thing and it was an easy place to
insert the WatcherSetupUtil initialization. From: Thank you for reply. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- RE: [flexcoders] Re: Fw: WatcherSetupUtil issue Matt Chotin
- [flexcoders] Re: Fw: WatcherSetupUtil issue maxym.hryniv
- RE: [flexcoders] Re: Fw: WatcherSetupUtil issue Matt Chotin

