Rotating in 3D without Blur

In the applet on the previous page, objects were turned into 3D objects simply by assigning someObject.z=0. The 'scaling correction' technique works equally well if more complex 3D transformations are performed on a given object. Below, we rotate a Bitmap without a blur.


  • Download all files corresponding to this tutorial:


Matteo's 'scaling correction' technique would have simplified some of our earlier tutorials. For example, in the flipping card tutorial 3D Card Flips with Tweens in Flash CS4 and CS3 the TweenFlipCS4 class could be significantly simplified by using scaling correction instead of swapping 2D and 3D objects.

Back to Flash CS4 Tutorials              Back to Flash and Math Home

We welcome your comments, suggestions, and contributions. Click the Contact Us link below and email one of us.

Adobe®, Flash®, ActionScript®, Flex® are registered trademarks of Adobe Systems Incorporated.