[flexcoders] FB 4.5.1 export release build and RSL size

2011-08-16 Thread durnelln
Hi all,

I have migrated two Flex Builder/SDK 3.0 Projects all the way up to Flash 
Builder/SDK 4.5.1.  One project is a library project that compiles to an RSL.  
The other project contains two applications that use the RSL library.  
Everything now seems to be compiling and running correctly in 4.5.1 but I have 
noticed that the RSL size is much bigger than before when I do an Export 
Release Build of the applications:

Flex Builder 3.0  SDK 3.0
library SWC (in library project bin folder) : 1107KB
library SWF (in applications project bin-release folder) : 507KB

Flex Builder 4.5.1  SDK 4.5.1
library SWC (in library project bin folder) : 1102KB
library SWF (in applications project bin-release folder) : 977KB

I always assumed that the RSL file size reduction (~50%) in Flex 3 was because 
the debug information was being stripped out and the library optimized as part 
of the Export Release Build.  However this does not seem to be happening in 
4.5.1.  Have I missed a configuration option or something?  How can I reduce 
the size of my release build RSL SWF in 4.5.1?

Regards,

Nick.



Re: [flexcoders] FB 4.5.1 export release build and RSL size

2011-08-16 Thread Brendan Meutzner
I've also seen this with the 3.6 SDK.

There were definitely issues even compiling successfully in the 4.0 version
of FlashBuilder, and while 4.5.x does successfully do the export to release
builder, it seems the compilation size is now an issue.



On Tue, Aug 16, 2011 at 8:06 AM, durnelln n...@arielcommunications.co.ukwrote:

 **


 Hi all,

 I have migrated two Flex Builder/SDK 3.0 Projects all the way up to Flash
 Builder/SDK 4.5.1. One project is a library project that compiles to an RSL.
 The other project contains two applications that use the RSL library.
 Everything now seems to be compiling and running correctly in 4.5.1 but I
 have noticed that the RSL size is much bigger than before when I do an
 Export Release Build of the applications:

 Flex Builder 3.0  SDK 3.0
 library SWC (in library project bin folder) : 1107KB
 library SWF (in applications project bin-release folder) : 507KB

 Flex Builder 4.5.1  SDK 4.5.1
 library SWC (in library project bin folder) : 1102KB
 library SWF (in applications project bin-release folder) : 977KB

 I always assumed that the RSL file size reduction (~50%) in Flex 3 was
 because the debug information was being stripped out and the library
 optimized as part of the Export Release Build. However this does not seem to
 be happening in 4.5.1. Have I missed a configuration option or something?
 How can I reduce the size of my release build RSL SWF in 4.5.1?

 Regards,

 Nick.