3d: rotation around a centre

Dear Kirupeans,

Im trying to make objects rotate around a centre in as3 but it turns out to be harder then i thought. Does anyone has accomplished something lke this in as3 already without using Papervision3d or other premade engines? I’m trying to make something like this, well something exactly like that -> http://www.kirupa.com/developer/actionscript/rotation_center.htm

Any help would be really appreciated!

Greggeh