def=sets the fillColor and alpha value of a model, or one of its sides

Flash3DInstance..model[modelID].setFill(fillColor, alpha, side#);

fillColor is a hexidecimal value, alpha ranges between 0 and 100 if a side number is NOT sent, then the values are applied to ALL sides of a model &sam=

//changes a model's color on mouseclick


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

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

c.rotate(30, 30, 0);

_root.createEmptyMovieClip("colorChange", 500);

colorChange.onMouseDown = function() {

myWorld.model["myCube"].setFill(Math.floor(Math.random()*16777215), 100);

myWorld.render();

}

myWorld.render();