Hi,

> I always wondered about this.  Dont we need to change the swf-version as
> well when we make these kind of changes?

It handled in several places.

It part of flex-config.xml and the main build.xml.

        <target name="flex-config" depends="playerglobal-setswfversion" 
description="Copy the flex config template to flex-config.xml and inject 
version numbers">
                <copy file="${basedir}/flex-config-template.xml" 
tofile="${basedir}/flex-config.xml" overwrite="true">
                        <filterset>
                                <filter token="playerversion" 
value="${playerglobal.version}"/>
                                <filter token="swfversion" 
value="${playerglobal.swfversion}"/>
                                <filter token="locale" value="${locale}"/>
                        </filterset>
                </copy>
        </target>

        <condition property="playerglobal.swfversion" value="22">
                <equals arg1="${playerglobal.version}" arg2="11.9" />
        </condition>

The ide/addAIRToSDK.sh and ide/setFlashPlayerVersion.sh scripts also set it.

But I think you right for the .bat file it's copying the air-config.xml file 
out of the template dir  which doesn't have the correct swf version set.

Thanks,
Justin

Reply via email to