Flipping Polaroid Picture with AS3

I’m fairly new to AS3 and I recently upgraded from Flash 8 to Flash CS4. I was impressed with the 3D rotation tool and wanted to employ 3D effects in my latest project. In it, I want to have a bunch of Polaroids cascading down from the top of the screen to the bottom of the screen continually flipping as they drop. I was able to achieve similar results by using the 3D rotation tool, but like with most things related to flash, I like to control them via AS.

When facing forward I want the Polaroid to display the picture and text underneath it. When it’s flipped behind it, I want the Polaroid to simply show white. Controlling when the text and picture show is not the problem for me… it’s getting the Polaroid to look like it’s actually rotating.

I haven’t done a whole lot of programming with moving objects other than the standard x and y positions, so wrapping my mind around all these rotation and scale properties to produce a desired effect is very difficult for me.

Would you guys be able to throw out some ideas to get me started on it or some basics to getting objects to move in 3 dimensions? I purchased some books on AS3, but it doesn’t seem like many dive into this specific area.

I found this site: http://www.flashandmath.com/advanced/card/

Which has an example that does basically what I want my Polaroid to do, except I want my Polaroid continually spinning, and my Polaroid will be a movieclip, not a bitmap. It seems like they also employ lots of extra things that my project probably wouldn’t need.