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)

swift 3d. its a program that makes 3d stuff and you can export in .swf files
http://www.swift3d.com/