def=rotates the light source about the world center

Flash3DInstance..light.rotate(xRot, yRot, zRot); &sam=

//rotates the light about a centralized model


myWorld = new Flash3D(270, 200, 0);

oct = myWorld.newModel("oct", "octahedron");

oct.rotate(30,30,0);

oct.setFill(0x00FF00, 100);

cube = myWorld.newModel("myCube", "cube");

cube.scale(.2);

cube.translate(-141, -19, 47);

cube.setRenderMode("wire");

_root.createEmptyMovieClip("rotater", 2000);

rotater.onEnterFrame = function() {

myWorld.light.rotate(0,5,0);

cube.rotate(0,5,0,1);

myWorld.render()

}