Yup, list it twice in the compile options or comma-separate.  Most MXMLC
options handle both ways

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Marvin Froeder
Sent: Wednesday, March 05, 2008 5:19 PM
To: [email protected]
Subject: Re: [flexcoders] Module Size Issue

 

Can I do that? Load 2 externs?

Amazing!!

Looking at mxmlc I saw that:
-load-externs <filename>

Just one parameter. How do I load both?

VELO

On Wed, Mar 5, 2008 at 9:35 PM, Alex Harui <[EMAIL PROTECTED]
<mailto:aharui%40adobe.com> > wrote:
>
>
>
>
>
>
>
>
>
> You would load-extern both the framework.swc and the app.
>
>
>
> ________________________________
>
>
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of VELO
> Sent: Wednesday, March 05, 2008 3:24 PM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: Re: [flexcoders] Module Size Issue
>
>
>
>
>
>
>
>
> Now I am curious...
>
> I have my Application (without RSL) and my Module.
> At this condition I use link-reports/load-extern.
> To compile the module I load extern the link-reports from the
> application. Right?
>
> When I start to use this application with framework caching (with RSL)
> I will begun the load-extern from the framework.swc e no more from
> myApplication?
>
> At current time, I can load-extern from only one source. But isn't
> better I load-extern the framework.swc AND my Application?
>
> VELO
>
> On Wed, Mar 5, 2008 at 6:28 PM, Alex Harui <[EMAIL PROTECTED]
<mailto:aharui%40adobe.com> > wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Did you turn on the framework rsl cache? If so, you then have to
> > load-extern framework.swc on your modules.
> >
> >
> >
> > ________________________________
> >
> >
> > From: [email protected]
<mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> > Behalf Of Jehanzeb Musani
> > Sent: Wednesday, March 05, 2008 8:17 AM
> > To: [email protected] <mailto:flexcoders%40yahoogroups.com>

> > Subject: [flexcoders] Module Size Issue
> >
> >
> >
> >
> >
> >
> >
> > Hello,
> >
> > I have designed an application that loads features
> > (implemented as modules) at runtime. I want to
> > minimize the size of the modules so I am using
> > "link-report" and "load-externs" compiler options for
> > main applicaiton and features respectively.
> >
> > A couple of days before, report.xml generated by
> > link-report compiler option was of 344 KB and includes
> > links to my custom libraries too. Now when I am
> > compiling the main application (after updates have
> > been incorporated to main application and features),
> > the size of the report.xml is only 16KB. I am
> > attaching both report.xml files; reportPrev.xml
> > (644KB) and reportNew.xml (16KB). Moreover, if I am
> > using the previous report.xml file to link during the
> > compilation of features, the size of the resulting swf
> > of the feature is 0 KB.
> >
> > Can anyone tell me what can be the reason for that?
> >
> > Regards,
> > Jehanzeb
> >
> > __________________________________________________________
> > Never miss a thing. Make Yahoo your home page.
> > http://www.yahoo.com/r/hs <http://www.yahoo.com/r/hs> 
>
> 

 

Reply via email to