Follow mclelun on Twitter +deviantWatch mclelun +fan mclelun +fan mclelun RSS Feed
mclelun.com

FlashDevelop Stage3D Away3D

Adobe just released Flash Player 11 beta 2 earlier this month and their “Molehill” 3D API is now known as “Stage 3D“. My old blog entry about setting up Flash Player Incubator with Away3D and Molehill is not applicable now, so I have to write a new entry on this topic.

Install Flash Player 11 Beta 2

To view Flash Stage 3D content, you will need to install the beta version of flash player 11.

flash stage3d

Setup FlashDevelop 4 with Flex 4.5 and Away3D 4

To publish Flash Stage3D content, you will need the new Flex 4.5 SDK. In my case, I will be using FlashDevelop 4 and Away3D 4.

flash stage3d

flash stage3d

  • Download and extract Flex 4.5 SDK. When you installing FlashDevelop 4, It will give you an option download this SDK too.

flash stage3d

flash stage3d

flash stage3d

  • Copy playerglobal.swc to [Flex 4.5 SDK Path]frameworks>libs>player>11.0 folder. FlashDevelop 4 will create this folder for you when setting up, if not create the folder and put the SWC here.

flash stage3d

flash stage3d

  • Launch FlashDevelop and start a new AS3 Flex 4 Project. Set your project folder to Away3D examples folder you extract earlier. A warning message about folder not empty and template files will pop up, click OK to copy them. FlashDevelop will then generate the index file for you.

flash stage3d

  • Go to Tools>Program Settings>AS3 Context>Installed Flex SDKs. Fill in the location where you extract Flex 4.5 SDK.

flash stage3d

  • Go to Project>Properties>Class Paths. Click Add Class Path and browse to the location where you extract Away3D 4. Remember to target the sub folder name src, not the main folder.

flash stage3d

  • Go to Project>Properties>Output>Platform. Make sure it is Flash Player 11.0.

flash stage3d

  • Go to Project>Properties>Output>Test Project. Select Open document from dropdown list. Click Edit button and type bin\index.html

flash stage3d

  • Go to Project>Properties>Compiler Options>Additional Compiler Options. Key in -swf-version=13

flash stage3d

  • Done. Right click on any of Away3D example source files which can be found at src folder, choose Set Document Class, compile and profit!

flash stage3d

Comments

5 kind souls comment on “FlashDevelop Stage3D Away3D”
Comments and share some love now!

  1. […] McLelun will detail how Starling can possibly be setup in FlashDevelop (he’s using Away3D, we substitute Away3D with Starling) […]

  2. Or what about downloading the unofficial flash player debugger by Jesse, setting it to be the default flash player in your system, and allowing FlashDevelop to play in that default player, instead of the html ?

  3. […] Adobe just released Flash Player 11 beta 2 earlier this month and their “Molehill” 3D API is now known as “Stage 3D“. This blog entry is not applicable now, so please refer to my new blog entry about this topic FlashDevelop Stage3D Away3D. […]

Your comment

Ideas, suggestion and criticism.

archives


logo Copyright © 2010-2014 mclelun.
Valid XHTML. Subscribe RSS.
spam eaten
85,351 spam!