Hi, Mark,
Hi Mark, this is just a question of order and settings :
create your camera before the view and pass it to the view :

try this :

function init3D():void {
        // Create a new scene where all the 3D object will be rendered
        scene = new Scene3D();
        // here it is:
        // Create a new camera, passing some initialisation parameters before
adding the view and pass the camera to the view !
        camera = new Camera3D({x:100, y:300,z:900});
        // Create a new view that encapsulates the scene and the camera
        view=new View3D({scene:scene,camera:camera});
        // that's all !
        // center the viewport to the middle of the stage
        view.x=stage.stageWidth/2;
        view.y=stage.stageHeight/2;
        addChild(view);
}

that should works now.

Reply via email to