Hi Indra,

If your working with Flex builder, right click your
project->properties->Flex Modules and add the path you your module mxml
file. Once completed your module will be compiled to a .swf file when built.

The project I am working on has build the app as a set of modules, each
module is loaded by a core framework (ModuleShell). I modeled the puremvc
multicore modularity demo application, making changes to load modules
instead adding UIComponents to a container. Check it out and you should be
able to use it as a base to extend/modify for your needs
http://trac.puremvc.org/Demo_AS3_MultiCore_Flex_Modularity. Even if you
don't use the puremvc framework you can still use the code as an example
impl.

HTH,

Greg





On Wed, May 7, 2008 at 9:54 PM, Indra Prastha <[EMAIL PROTECTED]>
wrote:

>   Hi Guys,
>
> Just wondering , whats the best way to build an application that's
> modular based?
> Wanted to create one application with a menu on top, each menu item
> loads another flex app below it inside a container.
> Flex documentation says that, each sub-application should be compiled
> into SWF and loaded at run time under the module loader component, so
> what i did was to create a new mxml component based on <mx:module> , but
> it was never compiled when running the main application (so my first
> question is how do you compile those mxml components into swf (using
> flex builder 2)?).
> Or is there any other way to do it ? please advise
>
> Thanks!
> - Indra
>
> 
>

Reply via email to