Skip to main content
Known Participant
October 6, 2011
Question

There is more than one definition of the AIR 2.6 player. Only the first definition will be used.

  • October 6, 2011
  • 1 reply
  • 981 views

Does anyone else get this message when starting flash cs 5.5 ?

There is more than one definition of the AIR 2.6 player.  Only the first definition will be used.

There is more than one definition of the AIR for iOS player.  Only the first definition will be used.

There is more than one definition of the AIR for Android player.  Only the first definition will be used.

Is this bad?

Kind regards,

Bart

This topic has been closed for replies.

1 reply

January 4, 2012

If you're not trying to do anything fancy, then I wouldn't worry about it too much. However, if you're trying to overlay a newer version of AIR then you'll want to change some things.

I'm on mac so you may have to change the paths I give you to PC if you're on a PC.

Anyway, what's going on is that flash is confused on which xml file as actually for 2.6 because it found multiple files matching for AIR 2.6 in the <name> tag

Look in the folder $FLASH/Common/Configuration/Players/ and there should be a number of files specifying versions of AIR. If you are trying to overlay additional versions of AIR, you need to change for file to something like the example below.

[AdobeAIR3_1.xml]

<?xml version="1.0" encoding="UTF-8"?>

<players>

  <player id="AdobeAIR3_1" version="14" asversion="3" minasversion="3">

    <name>AIR 3.1</name>

    <publishobject2 id="Air2_5" version="2.6" intversion="2.6"></publishobject2>

    <path platform="WIN">Air2_5.dll</path>

    <path platform="MAC">Air2_5.bundle</path>

    <playerDefinitionPath as2="$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/AIR3.1/airglobal.swc" />

    <!-- This item is used to indicate that some UI integrated within Flash should be enabled for this player.

-->

    <feature name="multiScreenPublish" supported="false" />   

    <feature name="mobileDebug" supported="true" />

    <feature name="apolloPublish" supported="true" />

    <feature name="apolloTestMovie" supported="force"/>

    <feature name="apolloDebugMovie" supported="true"/>

    <feature name="apolloPackaging" supported="true"/>

    <feature name="publish_localPlaybackSecurity" supported="false" />

    <feature name="publish_hardwareAcceleration"           supported="true" />

    <feature name="useDefineFont4ForDeviceText"          supported="true" />

    <feature name="useDefineFont4ForEmbeddedFonts"       supported="true" />

    <feature name="textLayoutFramework"       supported="true" />

    <encodingPresets>

              <preset uuid="0c95a8ba-8b71-44d5-b269-8fd1cf89a6ed"  name="F4V - Same As Source (Flash 9.2 and Higher)" ext="f4v" default="true"/>

          </encodingPresets>

  </player>

</players>

You'll notice that the following values changed:

- <player> id: to AdobeAir3_1

- <player> version: to 14

- <name> to AIR 3.1

- <playerDefinitionPath> as3: path to where the NEW airglobal.swc is eg. $(AppConfig)/ActionScript 3.0/AIR3.1/airglobal.swc

Hopefully that helps.