Modules are compiled into SWFs and loaded at runtime with
ModuleLoader, whereas MXML components are compiled into an
application.
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.
Hope that helps!
Thanks,
Renu
On Aug 25, 12:19 pm, Gerald Anto Fernando <
flex.gerald.a...@gmail.com>
wrote:
> What is a diffrence between custom mxml component and module.
> please give me the detailed explanation
>
> Thanks&Regards,
> Gerald A
>
>
>
>
>
> On Tue, Aug 25, 2009 at 5:09 AM, John Barrett <
barrjo...@gmail.com> wrote:
> > Hi I am a different example and looking at the docs too about modules. I
> > can't unserstand why do compile a module to get the swf, everytime I run my
> > app it compiles the default mxml file. Now if I am using:
> > <mx:VBox id="vb1" label="Column Chart Module">
>
> > <mx:Label id="l1" text="ColumnChartModule.swf"/>
> > <mx:ModuleLoader url="ColumnChartModule.swf"/>
> > </mx:VBox>
>
> > for example, but I can't compile ColumnChartModule.mxml then I can't
> > load ColumnChartModule.swf.
>
> > Can somebody please help me understand this,
> > Thanks Johnny`-`
>
> > I am using this example:
>
> >
http://www.brucephillips.name/blog/index.cfm/2007/1/8/Example-Of-Usin...
> > On Aug 24, 2009, at 6:07 AM, Renu wrote:
>
> > Modules are SWF files which can be loaded dynamically by an application.
> > They cannot run independently, they have to be invoked by application. Any
> > number of applications can share the same module.
> > Modules allow you to interact with the parent application and also interact
> > with other modules. Modules can be loaded either using ModuleLoader or
> > ModuleManager.
> > For more information in details you may go through this link ...
>
> >
http://sujitreddyg.wordpress.com/2008/02/05/splitting-flex-applicatio...
>
> > Thanks,
> > Renu
>
> > On Mon, Aug 24, 2009 at 4:25 PM, John Barrett <
barrjo...@gmail.com> wrote:
>
> >> Hi,
> >> I am not up on it, but I came across this great example with source!
> >>
http://blog.flexexamples.com/2007/08/06/building-a-simple-flex-module/
>
> >> Johnny
> >> On Aug 24, 2009, at 12:21 AM, Gerald Anto wrote:
>
> >> > Hello Friends,
> >> > What is meant by module.
> >> > please give me some clear idea?
> >> > diffrenciate from components
>
> >> --
> >> Thanks,
> >> Renu
>
> --
> Thanks & Regards,
> A Gerald- Hide quoted text -
>
> - Show quoted text -