In Alex Harui's Modules powerpoint
(http://blogs.adobe.com/aharui/360Flex2007/Modules.ppt/Modules.ppt) he
explains the problem that can result when classes are defined in a
module and then accessed from another module. In Slide 20 he shows one
solution for shared code between modules: load the common code into
ApplicationDomain.currentDomain before loading the modules that use
the common code.

My stupid question: Why not just load all modules into
ApplicationDomain.currentDomain? In many scenarios, this could
eliminate problems with class definitions being defined in certain
modules and being invisible in others.

Maybe Alex's blog is a better place to ask this question, I'm not sure.

Thank you,
Adam

Reply via email to