Check out this tutorial on the Macromedia site about creating 3D classes with AS2.0 by lo9ic. There rotations are done with quaternion math. Nice work!