14

Вопрос по – Flex: в чем разница между «компонентом» MXML и «модулем» MXML?

Как видно из заголовка, в чем разница между «Компонентом»? (Новый & gt; MXML-компонент) и & quot; Модуль & quot; (Новый & # x2013; & gt; Модуль MXML)?

Спасибо, Дэвид

1ответ

27

Error: User Rate Limit Exceeded

Modules are SWF files that can be loaded and unloaded by an application. They cannot be run independently of an application, but any number of applications can share the modules.

Modules let you split your application into several pieces, or modules. The main application, or shell, can dynamically load other modules that it requires, when it needs them. It does not have to load all modules when it starts, nor does it have to load any modules if the user does not interact with them. When the application no longer needs a module, it can unload the module to free up memory and resources. [...]

Modules are similar to Runtime Shared Libraries (RSLs) in that they separate code from an application into separately loaded SWF files. Modules are much more flexible than RSLs because modules can be loaded and unloaded at run time and compiled without the application.

Error: User Rate Limit Exceeded

RelatedQuestions