Business Card Flip Effect (Class With Source)
Monday, July 10th, 2006**UPDATE: Many of you have asked for the source FLA and/or help in getting the class to work. I have posted a demo FLA to help you out a bit. You can get it here: http://www.pixelfumes.com/blog/jul06/cardflip.zip If you are interested in how to target the movie clip on the back of the card you can view another example FLA here.
Many of you have seen the nice effect of a card flipping over in some Flash sites. A pal pointed me to a site today that had the effect and it got me to thinking that although many of these appear to be 3D/AfterEffects/PNG Sequences – close to the same could be done with just a simple class. This is a stab at doing the effect using a class that I created. The quality of the effect depends a lot on the parameters that you pass to the class. The example below allows you to modify all of the parameters minus the drop shadow. The drop shadow is a argument that you can pass into the class. FLASH 8 Required
The class looks like this:
The class is used like this:
cf = new CardFlip(card_mc,”cardBack_mc”,50,ds);Where the arguments are (MC to flip,Linkage to the “back” of the card movieclip in your library, the X-Axis to flip at, and the optional DropShadow Filter).