view = new View3D;
var bfm:BitmapFileMaterial = new BitmapFileMaterial("./assets/114.jpg");
cube = new Cube;
cube.material = bfm;
myLight = new PointLight();
myLight.color = 0xffffff;
myLight.y = 1000;
myLight.z = -1000;
cube.material.lights = [myLight];
cube.x = 100;
cube.y = -100;
view.camera.z = -500;
cube.mouseEnabled = true;
cube.addEventListener(MouseEvent3D.CLICK, onClick);
view.scene.addChild(cube);
view.scene.addChild(myLight);
the click area of the Cube in WRONG place!
as the Attachment