Mar 4, 2011

Setting Adobe Flash Builder to Use Flash Player 11 and Away3D

>Untuk versi Bahasa Indonesia, bisa dibaca di : http://bit.ly/fnKCCR<

In my latest post, I’ve explained how to use FlashDevelop IDE with the latest Away3D (version 4.0 Alpha) that already support Molehill API (by using Flash Player 11 Incubator Build). Maybe some of you prefer to use Adobe Flash Builder as Actionscript IDE and want to use Away3D version 4 too. In this tutorial, I explain how to use Flash Builder with Away3D version 4.0 Alpha.

Files that are needed in this tutorial :
  1. Download the latest Flex “Hero” SDK (version 4.5.0.1987) in here
  2. Download playerglobal.swc here (if after the download finished and the file extension become .zip, rename the extension into .swc)
  3. Download Away3D version 4.0 Alpha in here
  4. Download and install Flash Player 11 in here

The setting steps for using Flash Builder 4 and Flash Player 11 :
  1. Unzip Flex SDK
  2. Unzip Away3D file
  3. Make folder named “11.0” in {FlexSDK}/frameworks/libs/player
  4. Copy flashplayer_inc_playerglobal_022711.swc into “11.0” folder then rename it to playerglobal.swc
  5. Add the latest Flex SDK into Flash Builder
  6. When you’re creating project, select the latest Flex SDK in Flex SDK’s list
  7. In a project that was created, open the properties and do the following steps:
  • Select “Actionscript Compiler”, at “Adobe Flash Player options” select “Use spesific version” and change it value to “11.0.0”
  • In “Additional compiler arguments”, add argument: –swf-version=13
  • Select “Actionscript Build Path”, select “Source path” press ‘Add Folder’ button then choose “src” folder of Away3D (note: make sure that you choose ‘src’ folder instead of “Away3D” and “com” folders)

Adobe Flash Builder is ready to use in the project that are using Flash Player 11 API.

*You can try my project that use FB 4 and Flash Player 11, grab it here. (note: I don’t include Away3D folder, so just copy it like I explain in step 7c. Don’t forget to read the comments)

No comments:

Post a Comment