Can anybody give me an example how to load the module? For example if I have module Login.mxml in Modules.user package, how to load it? I want both mxml and actionscript methods.
Can anybody give me an example how to load the module? For example if
Share
Have you read the docs on loading and unloading Modules?
To quote some code, this is how you’d load it in MXML:
[End doc quoting here]
In ActionScript, you’d create an instance of the ModuleLoader class and add it as a child to the parent container, conceptually like this: