Tutorials, extensions, and source files for ActionScript, Flash, and other Adobe products.

 

Flash Player 10 Spinning Earth Redeux

Posted October 17, 2008 by senocular

I've slightly reworked the spinning earth (globe) example in the FlashCamp samples, dropping the custom 3D transformation function in favor of using new native APIs including Matrix3D, PerspectiveProjection, and the oh-so-important Utils3D.projectVectors. In turn, the code should be a little easier to read with less going on (the new APIs handling much of the work).
The new 3D spinning earth sample can be found in the Flash source files section. (I know, it's been a while). Since I doubt many of you have Flash CS4, I've included the frame script source code as a separate download.