There are four 3d points of a square and I want my movieclip to be that square. I can easliy calculate the center position but I can't calculate the rotationX,rotationY and rotationZ of the movieclip. Is there any other way?

Can you please help me?