Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Updating Adobe Flash Pro CS6 to the latest Flash Player 23?

Explorer ,
Nov 06, 2016 Nov 06, 2016

I read this post where someone asked "How can I change flash player version in flash cs6"? and there was an answer instructing him how to add Flash Player 15, so I figured I could do something similar with Flash Player 23, but it doesn't seem to be working properly. Does Adobe not provide a FlashPlayer23_0.xml file themselves? There are lots of lines in there, and copying one of the older xml files and editing a couple of them as the guide suggests doesn't seem right. In one of the lines I'm supposed to edit, I'm not sure what to put in for the version of FlashPlayer23.0.

<player id="FlashPlayer23.0" version="XX" asversion="3">

After doing all that, in Flash Pro I now see a "Flash Player 23" in the Target dropdown of the Publish section, and I have that selected, but when I actually publish, I get an error when I try to use one of the newer Flash features.

I'm actually just trying to use the new removeAt() Array method where you can remove one element of an array by its index. It says you need at least Flash Player 19 for it to work. Here is my test code:

var a:Array = [0,1,2];

a.removeAt(1);

trace(a);

If I try that out with Flash Player 11 as the publish setting, I get the following expected error:

TypeError: Error #1006: removeAt is not a function.

If I set it to publish to Flash Player 23, I get this error:

ReferenceError: Error #1069: Property http://adobe.com/AS3/2006/builtin::removeAt not found on Array and there is no default value.

Does anyone know why this is?

1.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 06, 2016 Nov 06, 2016

correct, adobe doesn't supply flashplayer23_0.xml.  i'll post it below.

that said, you're going through a lot of work for little gain if all you want is to use the removeAt() method of arrays. the splice() method is pretty easy to use:

var a:Array = [0,1,2];

a.splice(1,1);

trace(a);

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

<players>

  <player id="FlashPlayer23.0" version="34" asversion="3">

   <name>Flash Player 23</name>

   <path builtin="true"/>

   <path menuSortCategory="10"/>

   <path platform="WIN">Devi

...
Translate
Community Expert ,
Nov 06, 2016 Nov 06, 2016

correct, adobe doesn't supply flashplayer23_0.xml.  i'll post it below.

that said, you're going through a lot of work for little gain if all you want is to use the removeAt() method of arrays. the splice() method is pretty easy to use:

var a:Array = [0,1,2];

a.splice(1,1);

trace(a);

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

<players>

  <player id="FlashPlayer23.0" version="34" asversion="3">

   <name>Flash Player 23</name>

   <path builtin="true"/>

   <path menuSortCategory="10"/>

   <path platform="WIN">Device Central/adcdl.exe</path>

   <path platform="MAC">Device Central/adcdl</path>

   <playerDefinitionPath as3="$(AppConfig)/ActionScript 3.0/FP23.0/playerglobal.swc" />

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

   <encodingPresets>

        <preset uuid="da5cac1a-417a-4d86-b7f7-ef21010a5d7d"  name="FLV - Match Source Attributes (High Quality)" ext="flv" default="true"/>

    </encodingPresets>

  

   <testmenu>

    <menu name="ID_testInFlash" default="true"/>

    <menu name="ID_testInDeviceCentral" />

   </testmenu>

   <debugmenu>

    <menu name="ID_debugtInFlash" default="true"/>

    <menu name="ID_debugInDeviceCentral"/>

  </debugmenu>

   </player>

</players>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 06, 2016 Nov 06, 2016

Thanks for the xml. It didn't seem to help with that weird error I was getting with removeAt though. I guess I'll just stick with splice. One more question. Is it generally considered good practice to publish with the latest version of Flash, even if you don't intend on using the latest features?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 06, 2016 Nov 06, 2016
LATEST

not really.

i don't update my air/flash player versions unless i'm having a problem.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines