So how I do that - couldn't find any info on adobe's site.. Thanks
Update: Here is what I've done:
- downloaded playerglobal11_2.swc from Adobe
- created folder Adobe/Adobe Flash CS5.5/Common/Configuration/Players/FP11.2, renamed the downloaded swc to playerglobal.swc and put it inside that folder
inside Adobe/Adobe Flash CS5.5/Common/Configuration/Players duplicated FlashPlayer10_2.xml, called it FlashPlayer11_2.xml and edited following lines
<player id="FlashPlayer11.2" version="13" asversion="3"> <name>Flash Player 11.2</name> <playerDefinitionPath as2="$(UserConfig)/Classes/FP10;$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/FP11.2/playerglobal.swc" />
Now when I start flash I can choose to publish to Flash Player 11.2 from drop down menu, when I publish it (ctrl+F12) in browser with this code on first keyframe:
import flash.display.Stage3D;
var stage3d = new Stage3D();
var my_fmt:TextFormat = new TextFormat();
my_fmt.color = 0xFF0000;
my_fmt.size = 32;
my_fmt.bold = true;
my_fmt.font = "Arial";
var textF: TextField = new TextField;
textF.defaultTextFormat = my_fmt;
textF.autoSize = TextFieldAutoSize.LEFT;
textF.text = "Hello Flash Player: " + Capabilities.version + "\n" + stage3d;
addChild(textF);
I get this error in debugger:
ArgumentError: Error #2012: Stage3D$ class cannot be instantiated.
Obviously I missed something or done wrong, because I can't access FP11 API.