On 5/17/12 7 :26PM, "Justin Mclean" <[email protected]> wrote:
>HI,
>
>> In the Apache world, AIR and playerglobal should not be within the Flex
>>directory
>> structure and we've moved them out.
>
>Each Flex SDK may need a different playerglobal.swc depending on what
>Flash version it targets. You can work out which Flash Player version an
>SDK was compiled for by looking at flex-config.xml.
>
>You may need multiple playerglobal.swc if you have multiple SDKs
>installed (which would be fairly common IMO).
Justin,
I am just getting back to this. Do you think the build files need to have
something like
<external-library-path
dir="${env.PLAYERGLOBAL_HOME}/${playerglobal.version}">
<include name="playerglobal.swc"/>
</external-library-path>
rather than
<external-library-path dir="${env.PLAYERGLOBAL_HOME}">
<include name="playerglobal.swc"/>
</external-library-path>
and the *-config.xml files need
<external-library-path>
<path-element>{playerglobalHome}/{targetPlayerMajorVersion}.{targetPlayerMi
norVersion}/playerglobal.swc</path-element>
</external-library-path>
rather than
<external-library-path>
<path-element>{playerglobalHome}/playerglobal.swc</path-element>
</external-library-path>
The compiler subs {targetPlayerMajorVersion}.{targetPlayerMinorVersion}
with the relavent pices of the <target-player> tag or command line option.
The default, which btw, I was surprised to see is hard-coded into the
compiler is 11.1.
As it stands now it is a regression from 4.6 since -target-player does not
do what it should be doing in the frameworks/*-config files.
Carol