Download Flash Develop (The latest beta)
http://www.flashdevelop.org/community/viewforum.php?f=11
Install, make sure to also choose to download the flex sdk.
Download latest Git version of Away3D.
You don't need to set up a Git repo or anything if you dont want just download.
https://github.com/away3d/away3d-core-fp11
Download flash Player and the Flash Player 11 Beta Global SWC
http://labs.adobe.com/downloads/flashplayer11.html
Install FlashPlayer
Put the Beta Global swc you just downloaded in
C:\Program Files\FlashDevelop\Tools\flexsdk\frameworks\libs\player\11.0
Can't remember if that 11.0 folder was already there or I created one. If there is already a player global in that folder delete or rename it to playerglobalOLD.swc and make sure the one you just downloaded is renamed to playerglobal.swc
Open FlashDevelop.
Click on New Project
Choose AS3 Project
Give it a name
click ok
Click on project->Properties
Output Tab
Select FlashPalyer 11 from the drop down.
Select "Run Custom Command" from the Test Project drop down.
Click edit
Put "bin\index.html" into the input box (without the quotes)
SDK Tab
Select Flex 4.5 from the drop down.
Classpaths Tab
Click add Classpath
Browse to where you downloaded the Git version of Away3D all the way to the src folder
eg \away3d-core-fp11\src
Compiler Options Tab
Additional Compiler options add the line below
-swf-version=13
Click ok
All done click OK
Do a simple test
File -> new AS3 file
Put this code into that file
package
{
import away3d.containers.Scene3D;
import away3d.containers.View3D;
import away3d.materials.ColorMaterial;
import away3d.primitives.Cube;
import flash.display.Sprite;
import flash.events.Event;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
public class MainAW4 extends Sprite
{
private var view:View3D;
private var scene:Scene3D;
private var cube:Cube;
public function MainAW4()
{
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE
init3D();
initObjects();
}
private function init3D():void
{
view = new View3D();
addChild(view);
scene = view.scene ;
addEventListener(Event.ENTER_FRAME, handleEnterFrame);
}
private function initObjects():void
{
cube = new Cube(new ColorMaterial(0xcfcfcf))
scene.addChild(cube);
}
private function handleEnterFrame(e:Event):void
{
cube.yaw(1)
view.render();
}
}
}
File SaveAS MainAW4.as (Make sure it is in the src folder of your project.)
Project Panel (right hand side)
Right click on the file you just saved, select "Set Document Class)
Run the thang (Test Project, blue triangle on the menu bar) or CTRL+ enter
Hopefully
Yay spinning cube
