specifically using Stage3D
- Download the PlayerGlobal SWC and debugger player from http://www.adobe.com/support/flashplayer/downloads.html
- go to flash builder installation path: "Adobe Flash Builder 4.5\sdks\4.5.1\frameworks\libs\player"
- create a new folder "11.0"
- copy the SWC into this folder.
- install the debugger player for your browser
- Create a new ActionScript project
- Go to project properties > Flash Player version > 11.0.0
- Add "-swf-version=13" under Compiler Arguments
- Add code. eg.: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display3D/Context3D.html#drawTriangles()
- Run the application.
should work now.
for Flash CS5
for Flash CS5
- Do the same as above for step 1
- go to flash cs5 installation path: "\Adobe Flash CS5\Common\Configuration\ActionScript 3.0"
- create a new folder "FP11"
- copy the SWC into this new folder
- go to: "Adobe Flash CS5\Common\Configuration\Players" folder
- copy the old "FlashPlayer10_1.xml" to paste as a new "FlashPlayer11.xml"
- Edit the XML using NotePad
Change the following:
'player id="FlashPlayer11" version="13" asversion="3"'
'<name>Flash Player 11</name>'
'as3="$(AppConfig)/ActionScript 3.0/FP11/playerglobal.swc" ' - Save and close the XML.
- Go to folder: "Adobe Flash CS5\Players\Debug"
- copy the debugger EXE into this folder. change the original FlashPlayerDebugger.exe to FlashPlayerDebugger_OLD.exe and change the name of the copied EXE to FlashPlayerDebugger.exe
- Close Flash CS5 and restart.
- Create a new Actionscript 3 FLA.
- In Profiles > Version > Flash Player 11
- Change rendering to "Direct"
- Run the movie by using the Debug movie. Ctrl+shift+enter
No comments:
Post a Comment