When using Flash CS 5, and using the Actionscript 3 template there is only the option of targeting Flash Player 10.0. I am trying to add flash player 10.1.
I found that the playerglobal.swc for flash player is located at
/Applications/Adobe Flash CS5/Common/Configuration/ActionScript 3.0/FL10/playerglobal.swc
Therefore I thought that I would download the playerglobal.swc for flash player 10.1 and add the folder FP10.1 where
/Applications/Adobe Flash CS5/Common/Configuration/ActionScript 3.0/FL10.1/playerglobal.swc
then I would have the option to choice between an AS 3 file using either flash player 10.0 or flash player 10.1, but no luck. I could replace the flash player 10.1 playerglobal.swc in the Fp10 folder and be able to use it, but I want both options.
I am looking into this today, as I don’t see where the players are for the older versions either.
If anybody knows a solution, please let me know.
I would like to thank Antonio Holguin very much for his help on this!
he posted a solution on his blog.
First read his post on updating Flash CS 5 to use Flash Player 10.1, this is done by replacing your current playerglobal.swc with the one for flash player 10.1. This works great, but I wanted a solution to have the option to use flash layer 10 and flash player 10.1.
There is another post on swfHead Swapping Between FP 10 and 10.1 playerglobal.swc in Flash CS5 a must read if you are interested in this!
Just follow the instructions on his post, and it works perfect.
I created a folder FL10.1 with the flash player 10.1 playerglobal.swc in
/Applications/Adobe Flash CS5/Common/Configuration/ActionScript 3.0
then open the file FlashPlayer10.xml located in
/Applications/Adobe Flash CS5/Common/Configuration/Players
change the following lines to this
<player id="FlashPlayer10.1" version="10" asversion="3">
also change the path to your playerDefinitionPath for as3
<playerDefinitionPath as3="$(AppConfig)/ActionScript 3.0/FP10.1/playerglobal.swc" />
that is it, when you start a new flash AS 3 file, it is still flash player 10, but if you go to publish settings you will now see the option to target flash player 10.1
Now you can switch from flash player 10 & flash 10.1!
I did notice on snag, while targeting 10.1 and using the TLF text I got this error message, A strange error while suing flash player 10.1 as the error says ” supported with Flash Player 10 or higher!
This issue is fixed now, check out the post on swfHead.
you need to add the line
<feature name=”textLayoutFramework” supported=”true” />
to the features node. Antonio has updated his xml file download!
thanks so much Antonio for all your help on this!