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