I am attempting to get Away3D to compile in Flash Builder 4.5. Here is what I have done.
1. Fetched latest Away3D from git (https://github.com/away3d/away3d-core-fp11).
2. Created a new Flex project and copied src/away3d and src/com from step 1 into that project’s source directory.
3. Added a single tag to my Main.mxml: <containers:View3D width=“300” height=“300”>
4. Uninstalled Flash and reinstalled the 32-bit content debuggers for Flash 11.
5. Copied the playerglobal.swc for Flash 11 into \flex_sdk_4.5.1.21328\frameworks\libs\player\11.0.
6. Set my project to use 11.0.0.
And after all this I still get 25 errors such as “Type was not found or was not a compile-time constant: Context3D”. All the errors stem from the following invalid imports:
import flash.display.Stage3D;
import flash.display3D.Context3D;
import flash.display3D.Program3D;
import flash.display3D.VertexBuffer3D;
import flash.display3D.textures.TextureBase;
Any help shining a light on what I’m doing wrong is very appreciated. I have tried the -swf-version=13 compiler argument and it didn’t help the situation.