def=sets the abslute coordinate of the light source

Flash3DInstance..light.transform(x, y, z);

This method returns the absolute position as well as sets it, as shown in the example below. &sam=

//moves the light slowly right and left on the screen


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

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

myWorld.model["oct"].rotate(30,30,0);

myWorld.model["oct"].setFill(0x00FF00, 100);

dir = 1;

_root.createEmptyMovieClip("rotater", 2000);

rotater.onEnterFrame = function() {

myWorld.light.translate(300*dir,0,0);

myWorld.render();

if (myWorld.light.transform()[0] %3E 15000 || myWorld.light.transform()[0] %26lt%3B -15000) { dir *= -1 }

}