New Flash 10 Card Flip Tutorial Online

I just finished writing an article for The Tech Labs.  The article steps you through the creation of a class that simulates the flip of a business card.  Lots of you have downloaded and commented on my previous CardFlip class written in AS2 so go check out the AS3/Flash 10 version!  The class will give you a bit of insight on the usage of the new rotationY property as well a basic usage of the PerspectiveProjection class.  You will of course need to have the beta version of Flash Player 10 installed to see the code in action.  You can view the results of the class here (Flash Player 10 required):

Flipping a Bitmap - Click on the card to flip


Flipping an SWF - Edit the text and click the Flip button to flip the card

You can view the article/tutorial on The Tech Labs site.

3 Responses to “New Flash 10 Card Flip Tutorial Online”

  1. PerspectiveProjection…. null: Labs@flexcoders Says:

    [...] I grab the code of pixelfumes, and want to disply it…… it says this.transform.perspectiveProjection == null. But in [...]

  2. Ben Says:

    I am not able to test or verify using the FLex Builder IDE if that is what you are using. If you are using the code sample provided and following the steps to download a “nighty build” (not latest stable release) of the flex 3 sdk it should work out for you. Sorry for not being more useful in the troubleshooting area on this one.

  3. Robert Says:

    Check out my nice cardflip here:

    http://robertjarvi.wordpress.com/2009/03/15/create-a-card-flip-for-flash-player-10-using-actionscript-3/

    If you want code, just ask me for it

Leave a Reply