Hi,

Just had another ides with the hard coded version numbers in flex-config.xml. 
The build targets can do this:

<load-config filename="${basedir}/flex-config.xml" />
<load-config filename="${basedir}/flex-config-${playerglobal.version}.xml" />

Where the target player and swf version have been removed from flex-config.xml 
to the flex-config-XX.Y.xml file like so:

<flex-config>
    <!-- Specifies the minimum player version that will run the compiled SWF. 
-->
   <target-player>11.1</target-player>

    <!-- Specifies the version of the compiled SWF -->
    <swf-version>14</swf-version>
</flex-config>

Any one know if the load-config task appends and not overwrites when called 
twice like that? 

Thanks,
Justin


Reply via email to