Ah yes, I knew there was a way to do this with the swc.  Thanks, -Alex

________________________________

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of VELO
Sent: Thursday, March 06, 2008 2:57 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Module Size Issue

 

Can I add this to MXMLC:
-compiler.external-library-path+=flex/libs/framework.swc
?

Or is better use load-extern?

VELO

On Thu, Mar 6, 2008 at 7:02 PM, Alex Harui <[EMAIL PROTECTED]
<mailto:aharui%40adobe.com> > wrote:
>
>
>
>
>
>
>
>
>
> Actually a good question. I thought we'd changed load-externs to take
a
> SWC, but it looks like that didn't happen. It turns out you can use
the
> catalog.xml from the SWC though.
>
>
>
> ________________________________
>
>
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of Marvin Froeder
> Sent: Thursday, March 06, 2008 12:15 PM
>
>
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> Subject: Re: [flexcoders] Module Size Issue
>
>
>
>
>
>
>
>
> Stupid question.
>
> Where can I get the framework link-reports?
>
> VELO
>
> On Wed, Mar 5, 2008 at 10:35 PM, Alex Harui <[EMAIL PROTECTED]
<mailto:aharui%40adobe.com> > wrote:
> >
> >
> > Yup, list it twice in the compile options or comma-separate. Most
MXMLC
> > options handle both ways
> >
> >
> >
> > ________________________________
> >
> >
> > From: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> > Behalf Of Marvin Froeder
> > Sent: Wednesday, March 05, 2008 5:19 PM
> >
> >
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>

> > 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: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> > > Behalf Of VELO
> > > Sent: Wednesday, March 05, 2008 3:24 PM
> > > To: flexcoders@yahoogroups.com
<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: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
]
> On
> > > > Behalf Of Jehanzeb Musani
> > > > Sent: Wednesday, March 05, 2008 8:17 AM
> > > > To: flexcoders@yahoogroups.com
<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