needed to add this to the build script:

static-link-runtime-shared-libraries="true"



--- In flexcoders@yahoogroups.com, "Ariel J" <arielj...@...> wrote:
>
> I am trying to reproduce the standard build with an ant script to prepare for 
> future customizations, but when I compile I am getting a SWF with a 
> drastically different size that won't run. Can anyone spot an error in my 
> script? Here is my current ant target:
> 
> <mxmlc file="${src}/Main.mxml" 
>                       output="${bin-test}/Main.swf" 
>                       debug="true" 
>                       optimize="true" 
>                       incremental="true" 
>                       locale="en_US" 
>                       configname="flex" 
>                       show-unused-type-selector-warnings="false" 
>                       show-actionscript-warnings="false" 
>                       show-binding-warnings="false" 
>                       show-deprecation-warnings="false">
>                       
>                       <compiler.context-root>/Main</compiler.context-root> 
>                       <source-path path-element="${src}" /> 
>                       <source-path path-element="${assets}" />
>                       <library-path dir="${FLEX_HOME}/frameworks/libs" 
> append="true">
>                               <include name="*.swc" /> 
>                       </library-path>
>                       <library-path dir="${FLEX_HOME}/frameworks/locale" 
> append="true">
>                               <include name="{locale}" /> 
>                       </library-path>
>                       <library-path dir="${lib}" append="true">
>                               <include name="*.swc" /> 
>                       </library-path>
>                       <library-path dir="${extras}/MVCS/bin" append="true">
>                               <include name="MVCS.swc" /> 
>                       </library-path>
>                       <library-path dir="${extras}/ThirdPartyLibs/bin" 
> append="true">
>                               <include name="ThirdPartyLibs.swc" /> 
>                       </library-path>
>                       
>                       <arg line="-load-config 
> ${FLEX_HOME}/frameworks/flex-config.xml" /> 
>               </mxmlc>
>


Reply via email to