This content has been marked as final. Show 2 replies
Thanks for sharing your thoughts on Flex app and the environment sizes...etc. I am encouraged by the specifics you provided below especially with the statement "I have application that has over 50,000-60,000(atleast) lines of combined code (mxml and AS3) ". For some reason I am not able to achieve this. For ex: I have an mxml file which represents a module and it has only 185 lines of code (no embedded resources) but the corresponding swf file is aroung 275 Kbytes. Am I missing any optimizations or configuration settings...etc. Looking forward to hear any tips on how you are achieving this?
Thanks for the help and your posting.
first you have to tak in account a frameworks content which is little over 100 kb soo from start the size ratio will be unbalance meaning that you might have one line of code and size will be still over 100 K, for everything else , I strongly suggest to disect your application into modules if possible, Modules is one of the most underastimated features in flex I think which on other hand give lot more power than just loading arbitraty code at any point of time, it gives lot more, including code size optimization,
there is also a great python script that even further minimumizes your frameworks file size by just including a components that you have used , I think its done by Ted, http://www.onflex.org/ted/2006/04/rslbuilder-or-put-your-flex-apps-on.php