Rotating 3D object?

I have 3 walls (3D) with some different function buttons on each wall.

Ideally ,i wanna create this 3d walls which could be rotated from one wall to another wall by click or move the mouse.

i saw some example online: Rotating 3D objects with the tween class in AS3
http://www.flashandmath.com/advanced/tween3d/

I can not get the ‘class’’ part…too complex to me right now.
So I am wondering any other way to do it??

i already made a three walls rotating animation by frames, but i still need to figure out how to put different buttons on each wall…

any idea? thanks!
:sen: