I would recommend making your module project think it is using the
shared framework RSL.

 

ANT is its own thing and does not need FB or eclipse, although I think
there is eclipse integration.  You can also just use shell scripts in
cygwin.  That's what I did on my blog.

 

The goal is to use load-extern enough times with enough stuff in it that
everything in the main app and the framework RSL is not in the module.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of danielvlopes
Sent: Monday, September 17, 2007 5:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Reduce size of my module! Really boring....

 

I try use ant but don't find material necessary to know how use or how
install... I can use ant in FB or i need to use eclipse with pluggin
for Flex? Do know one site with tutorial about ant? 

When i use RSL for separete framework i still can use load extern
whitout RSL in project of my module or i need to make module project
with RSL to?

Thanks Alex.

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> I haven't use FB to do this. I use ANT or batch scripts. Take a peek
> at the .xml to see if it has everything it should. 
> 
> 
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of danielvlopes
> Sent: Sunday, September 16, 2007 12:28 PM
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Reduce size of my module! Really boring....
> 
> 
> 
> Hello,
> 
> Now in Brasil is sunday, and i waste all my day trying reduce swf size
> of my modules... 
> 
> I had project with 11 modules... each module had approximately 90kb,
> because in my project i'm using framework caching teached in this
> video (http://labs.adobe.com/technologies/flex/videos/flex3rsls/
<http://labs.adobe.com/technologies/flex/videos/flex3rsls/> 
> <http://labs.adobe.com/technologies/flex/videos/flex3rsls/
<http://labs.adobe.com/technologies/flex/videos/flex3rsls/> > ), all
> modules are inside of my main project.
> 
> I try to put each module in separete project, in project properties in
> my main project i put this on compile line,
> link-report=D:/Daniel/Trabalho/bms/painel_adm/report.xml to generate
> report.xml .
> 
> In each of my modules i put
> load-externs=D:/Daniel/Trabalho/bms/painel_adm/report.xml to try
> reduce swf size of my modules.
> 
> But the problem is now each module had approximately 250kb, bigger
> than with modules inside a single project.
> 
> What can i do to fix this problems?
>

 

Reply via email to