difference between swfLoader and ModulLoader
what is difference between swfLoader(load开发者_运维知识库 application) and ModuleLoader(load module)? which is better to use? thanks
The SWFLoader is used to load sub-applications while the ModuleLoader is used to load Modules, as you stated yourself.
The difference is that Modules have a tight link to the application their are loaded in and cannot be used standalone. A subapplication on the other hand really is a separate application that has no direct link to the application it is loaded in. Depending on your use cases, you might consider one or the other.
There is a good stuff available from Adobe here
Be sure to check the section "Comparing loaded applications to modules".
精彩评论