To use the examples given here, Flex Builder 3 with SDK of version 3.2 or above is necessary. Of course Away3d can be used also with Flash CS3/4, but Flex Builder 3 is represented to me is much more convenient for the developer.
Having decided on tools it is passed to setup of an environment for projects with Away3d.
The first we need to raschekautit from svn Away3d library for Flash Player 10 — http://away3d.googlecode.com/svn/trunk/fp10/Away3D/ — in the away3dFP10 folder. To whom to take laziness from svn, can download archive here. Small retreat, I will use and compile under Flash Player 10 because the gain when rendering increases by a third (in 10 m a player there is already a rasterization bitmap at the level of a player, but not program a code).
After that we open Flex Builder 3 and we create new Flex Library project "Away3dFP10":
After adding we saw that the bilder issued the whole leaf of errors of assembly, because of the fact that the project by default gathers under 9y Flash Player. We will change the compilation mode under 10y to Flash Player. So the first that should be made — to come into project properties of library and to open the category Flex Library Build Path:
where it is necessary to delete playerglobar.swc, and then to add other playerglobar.swc which to be in c:\Program Files\Adobe\Flex Builder 3\sdks\3.4.0\frameworks\libs\player\10\playerglobal.swc:
The Link Type parameter of the new added playerglobal.swc should be changed to External:
Then it is necessary to add a compiler toggle - target-player=10.0.0.0:
On it the Away3d installation comes to an end. In the following part we will create the first project with a three-dimensional scene.
This article is a translation of the original post at geektimes.ru/post/69601/
If you have any questions regarding the material covered in the article above, please, contact the original author of the post.
If you have any complaints about this article or you want this article to be deleted, please, drop an email here: firstname.lastname@example.org.
We believe that the knowledge, which is available at the most popular Russian IT blog geektimes.ru, should be accessed by everyone, even though it is poorly translated.
Shared knowledge makes the world better.