I Agree with bobbyinsane i personally prefer doing a release build rather than changing compiler options. Additionally goto project properties --> flex path --> source code and remove the option merge into code. It would reduce your project size by 30%.
so a 700kb file after performing the above 2 options would come down to 250-350kb... On Mar 31, 10:25 pm, Bobbyinsane <siripurap...@gmail.com> wrote: > 1. As the compiler argument, add "-debug=false" for the final out > put, default is true > 2. Create a modular application. > 3. Remove the unnecessary class imports by adding to the shell > application, "-link-report=report.xml" as compiler argument. Add "- > load-externs=_path_to_Shell/bin-debug/report.xml" to the modules. The > class definitions available in the shell will not be imported to > module. so that size of the modules can be minimized. > > And dividing application in to modules gives you the freedom to load a > particular module (or) a set of functionalities depending on the > requirement, instead of loading one FAT SWF. > > Above procedures gives you a notable change in the file size of swf. > May be you can try google with "Modular applications with flex", if > you are new with modules. > > Two and half years back, When I was learning flex, I made my first > commercial application having file size 200kb. The same application I > have re written very recently, came up just 41kb. Optimization > requires some experience too. More you digg, more you know. :) > > Goodluck > Bobbyinsanehttp://www.insanepixel.com > > On Mar 31, 7:25 pm, rohit <rohitde...@gmail.com> wrote: > > > give we some example by which I can reduce the size of my flex-swf.Now > > it takes too much time to load --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---