How do you make things rotate in 3d?

how do you make things rotate in 3d, eg http://www.kirupa.com/developer/mx/percentage_loader.htm
(like the movie clip after the preloader)