That card viewer should have been trivial to make. I ran into some problems though.
I’m going to right now make the statement that flash doesn’t like when you rotate masks via Actionscript, no matter the axis of rotation. Weird things happen.
I found this strange and unexpected. It may be documented somewhere, but I sure couldn’t find it.
But good news, you can rotate the display object to which a mask has been applied easily enough.