Chapter 2. BASICS OF ACTIONSCRIPT 3.0 FOR ANIMATION

What we'll cover in this chapter:

  • Basic animation

  • Sprites

  • Classes and object-oriented programming (OOP)

  • User interaction

If the first chapter was a somewhat philosophical overview of animation, this one is a sort of technical overview of what it takes to animate with ActionScript, and in particular, ActionScript 3.0 (AS 3). This chapter covers the essentials of loops for animation, movie clips and sprites, classes, and user interaction. It gives you the majority of the information you need to understand the ActionScript techniques used in the rest of the book.

Basic animation

To start off, let's quickly review what Chapter 1 covered.

  • Animation is made with frames, with each frame slightly different to ...

Get Foundation ActionScript 3.0 Animation: Making Things Move! now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.