You need a Grounds Gold Account to post on the NG BBS!If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!
flash player 10 provides basic 3 fonctionnality for objects : x,y,z and rotationX,rotationY,rotationZ, along with Matrix3D class enabling more advanced 3d transformations.
but at this time, the best 3d engine for flash is an external engine, such as Alternativa, Away3D or Papervision
/**
* Generate a random number
* @return Random Number
* @error throws Error if low or high is not provided
*/
function randomNumber(low:Number=NaN, high:Number=NaN):Number
{
var low:Number = low;
var high:Number = high;
if(isNaN(low))
{
throw new Error("low must be defined");
}
if(isNaN(high))
{
throw new Error("high must be defined");
}