views:

1154

answers:

3

how can i reduce the file size of my flex application. its around 900kb .

+1  A: 

you can do that by implementing rsl on your flex project and splitting it into modules, for details to implement file size optimization
check this link
http://askmeflash.com/article/9/optimize-flex-swf-filesize-performance-loading

Bryson
A: 

An easy to implement solution that article fails to mention is to use a tool to minify your as3 code as part of the deployment compilation process.

In projects with lots of code and few images I've seen this cut the file size by more than half. There are several open source and $ source kits that do this I've found SecureSWF the most reliable.

Glenn
A: 

I tried to create an empty project, using only this code(I am writing it without tag symbols)

mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundGradientColors="[#FFFFFF, #FFFFFF]"

/mx:Application

But the size of the generated swf file is 245kb, even if it's absolutely empty.

Mike