Useful info, bobby!! On Tue, Mar 31, 2009 at 10:25 AM, Bobbyinsane <[email protected]>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 > Bobbyinsane > http://www.insanepixel.com > > > > On Mar 31, 7:25 pm, rohit <[email protected]> wrote: > > give we some example by which I can reduce the size of my flex-swf.Now > > it takes too much time to load > > > > -- ----------------------------- Regards, HISSAM, ------------------------------ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

