Accessibility

ActionScript Article

 

ActionScript 3.0 for developers and designers – Part 1: Creating a preloader


Jamie Kosoy

Jamie Kosoy

Senior Developer, Big Spaceship

Table of Contents

Created:
15 October 2007
User Level:
Intermediate
Products:
ActionScript
Flash
Flash Player

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.

Requirements

In order to make the most of this article, you need the following software and files:

Flash CS3 Professional

Note: The ActionScript 3.0 FLVPlayback component comes with Flash CS3 Professional along with the new Flash CS3 Video Encoder.

Sample file:

Prerequisite knowledge

This article covers the fundamentals of ActionScript 3.0. Some knowledge of ActionScript 2.0 is recommended but not necessary.

About the author

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.