This article describes how to create 3D effects in Macromedia Flash using a class-based programming model. I begin with an overview of the new syntax describing many of the new features in ActionScript 2.0, followed by a presentation of a 3D calculation method that uses quaternion math for fast, efficient 3D transformations.