Adobe Flash is unique in that the content you create with it is intrinsically artistic and programmatic. Even if you are working by yourself, design and development must work in harmony in order for a piece to reach its full potential. With ActionScript 3.0, Flash has become a far more powerful tool—and in some ways, far more intimidating.
In this first installment of my "ActionScript 3.0 for developers and designers" series, I provide an introduction to writing classes and walk you through some of the nuances of the new language by building a modular preloader. Along the way, I'll identify best practices to optimize performance and suggest strategies for reskinning artwork to achieve a desired look and feel.
In order to make the most of this article, you need the following software and files:
Note: The ActionScript 3.0 FLVPlayback component comes with Flash CS3 Professional along with the new Flash CS3 Video Encoder.
This article covers the fundamentals of ActionScript 3.0. Some knowledge of ActionScript 2.0 is recommended but not necessary.
Jamie Kosoy longs for a championship parade for a Philadelphia sports team. To distract himself from the endless agony, he works as a senior developer at Big Spaceship building world-class interactive experiences for clients like Nike, Coca-Cola, Stouffer's, and Sony Pictures. He resides in Brooklyn, New York, with his French bulldog. You can find Big Spaceship's development team blog at http://labs.bigspaceship.com.