Hi

This may not be the best solution, but I also experienced a similar
problem when using the files from the trunk (Although after checking
my original post the problem was quickly fixed by one of the dev
guys).

http://groups.google.com.au/group/away3d-dev/browse_thread/thread/171560d3d82545d/e622b74b93234eed?hl=en#e622b74b93234eed

You may have better luck using the 3.0.00 branch? Or you could submit
a ticket and wait for the issue to be resolved.

On Feb 7, 12:30 pm, "[email protected]" <[email protected]>
wrote:
> Recent changes to the trunk have broken some cube functionality, for
> instance I cannot change cube.width without having an error, here is
> the code sample:
>
> import away3d.containers.*;
> import away3d.core.base.*;
> import away3d.primitives.*;
> import away3d.core.math.*;
>
> var view:View3D = new View3D({x:300, y:200});
>
> addChild(view);
>
> var cube:Cube = new Cube({material:"blue#", name:"cube", x: 300, y:
> 160, z: -80, width:200, height:200, depth:200});
>
> view.scene.addChild(cube);
>
> view.camera.position = new Number3D(1000, 1000, 1000);
> view.camera.lookAt(cube.position);
> cube.width=1000; //HERE GOES THE ERROR
>
> view.render();

Reply via email to