Hello,
I just bought my first Away3d book and trying to go through the first chapter, and then I catch errors :S
The download link that the book specifies is DOWN.
http://away3d.com/download/away3d_3_6_0.zip
Away3D 4.0 is for flashplayer 11 as I understood, I cannot use it with flash player 10? So I go find Away3D for flash player 10.
Downloaded Away3D 3.6
https://github.com/away3d/away3d-core-fp10
Then I try to type this:
public class TreD extends Sprite
{
private var _view:View3D;
public function TreD()
{
_view = new View3D();
_view.x = 200;
_view.y = 200;
addChild(_view);
addEventListener(Event.ENTER_FRAME, eventEnterFrame);
}
private function eventEnterFrame(event:Event):void
{
_view.render();
}
}
Throws:
ReferenceError: Error #1065: Variable _init is not defined.
I don’t know what to do now?