flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject Re: Metadata containing SDKs minimal playerglobal version?
Date Sat, 30 Jun 2012 00:10:02 GMT

You might want to look at the flex-config.xml file in the framework directory as it contains:

For instance you can targeting the 11.3 player like so:

<!-- Specifies the minimum player version that will run the compiled SWF. -->

<!-- Specifies the version of the compiled SWF -->

There a 1-1 mapping between swf version and which player global swf you need. Here's the code
form my ant patch to work out which one it may help:

<target name="playerglobal-setswfversion" description="Set the swfversion to insert into
the flex config file">
	<condition property="playerglobal.swfversion" value="11">
		<equals arg1="${playerglobal.version}" arg2="10.2" />
	<condition property="playerglobal.swfversion" value="12">
		<equals arg1="${playerglobal.version}" arg2="10.3" />
	<condition property="playerglobal.swfversion" value="13">
		<equals arg1="${playerglobal.version}" arg2="11.0" />
	<condition property="playerglobal.swfversion" value="14">
		<equals arg1="${playerglobal.version}" arg2="11.1" />
	<condition property="playerglobal.swfversion" value="15">
		<equals arg1="${playerglobal.version}" arg2="11.2" />
	<condition property="playerglobal.swfversion" value="16">
		<equals arg1="${playerglobal.version}" arg2="11.3" />

The minimum player target level is a little artificial - for instance the minimum specified
for the 4.6 SDK is currently 11.1 SDK  however it will actually work for 10.2 and up.

There are build file changes required to get this to work for the current SDK but this was
working the patches branch a while back. I intend to reapply them to the current build once
we have a paraty release.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message