In my simple test I see size changing from 241kb to 149kb. I would suggest you log a bug at http://bugs.adobe.com/flex with your test case
Thanks, Gaurav --- In [email protected], "lytvynyuk" <[EMAIL PROTECTED]> wrote: > > Nothing happened, same size. That is mean, It didn't checks that > options or I do something wrong. Need to do deeper investigation. All > that FlexAntTasks story is so confusing - there is no proper > documentation, I figured some options only by analyzing java source > files!...grrrr > > --- In [email protected], "Gaurav Jain" <gauravj@> wrote: > > > > What happens when you compile with Ant task using debug="true"? > > > > If it generates swf of size more than 190 kb, then probably the > > difference you are seeing is due to some other difference between FB > > and ant task arguments. > > > > Look in the .actionScriptProperties file to see what libraries FB is > > linking against and see if you have anything additional? > > > > Thanks, > > Gaurav > > > > --- In [email protected], "lytvynyuk" <lytvynyuk@> wrote: > > > > > > Here is piece of my flex ant file: > > > <mxmlc file="${BUILD_SPACE}ActiveUpdate.mxml" > > > output="${DEPLOY_DIR}/ActiveUpdate.swf" > > > actionscript-file-encoding="UTF-8" > > > > > > services="${BUILD_SPACE}res/services-config.xml" > > > context-root="ISP" > > > locale="en_US" as3="true" > optimize="true" > > > static-rsls="false" headless-server="true"> > > > <runtime-shared-libraries > url="framework_3.0.189825.swf"/> > > > <source-path path-element="${FLEX_HOME}/frameworks"/> > > > > > > <compiler.keep-as3-metadata>false</compiler.keep-as3-metadata> > > > <compiler.debug>false</compiler.debug> > > > <compiler.library-path dir="${FLEX_HOME}/frameworks" > > > append="true"> > > > <include name="libs" /> > > > <include name="../bundles/{locale}" /> > > > </compiler.library-path> > > > </mxmlc> > > > > > > Whatever options I put in here I getting debug version with size > 190kb, > > > but when I do export release via eclipse I getting version sized > 140!!! > > > WHY? > > > > > >

