3d circle rotation

Hello all,

I have a question about how to create 3d circle with can handle mouse to around it. May be you can give me some advice how it is working like cube display at this link: http://www.kirupa.com/developer/actionscript/faces_depths.htm

Thanks alot,
Atoy