Apress Access

AdvancED ActionScript 3.0 Animation

By Keith Peters

  • eBook Price: $27.99
Buy eBook Buy Print Book
The follow-up to the best-selling Foundation ActionScript 3.0 Animation, taking you further along the road to becoming an ActionScript master.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-1608-7
  • User Level: Beginner to Advanced
  • Publication Date: December 22, 2008
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • HTML5 Quick Markup Reference
  • Migrating to Swift from Flash and ActionScript
  • Practical Web Design for Absolute Beginners
Full Description

This book is a compilation of advanced ActionScript 3.0 animation techniques for any user creating games, user interaction, or motion control with ActionScript. It's an anthology of topics that follow from the author's earlier book, Foundation ActionScript 3.0 Animation: Making Things Move, and things that became possible in version 10 of Flash Player. This book covers a diverse selection of topics that don't necessarily lead one into the other. You don't need to start with Chapter 1 and read it cover to cover. Just start with any chapter that looks interesting and jump around as you see fit. In this book, you'll find chapters on advanced collision detection, artificial intelligence and steering behaviors, isometric projection, using the camera and microphone for input, 3D, and much, much more.

AdvancED ActionScript 3.0 Animation is also more experimental in nature. The techniques shown here might not be the best way to do things, but they should work well and get you started in your own efforts to achieve a perfect implementation. In fact, many of the chapters can be seen as introductions to very complex topics that could fill a whole book by themselves. Many of these subjects have been extensively covered elsewhere, but not necessarily targeted for Flash or ActionScript 3.0. So it took a fair amount of work to pull the data together and get it all working and explain it all clearly in ActionScript. This book will inspire you to find out about subjects that you might not have considered before, acting as a springboard into your own research into the possibilities of ActionScript 3.0.

What you’ll learn

  • Leverage Flash 10 3D, the drawing API commands, and Pixel Bender
  • Create isometric worlds for games
  • Construct powerful artificial intelligence routines including pathfinding, steering, and flocking behaviors
  • Use numerical integration for real world physics effects
  • Build advanced collision detection routines for more accurate simulations

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.

On page 279:
assigning a PerspectiveProjection object to a shape must first be instantiated or it will not work.

perhaps this was inferred, but it's confusing nonetheless.

this code:

s.transform.perspecitveProjection.projectionCenter = new Point(stage.stageWidth / 2, stage.stageHeight / 2);

should be something like:

var projection:PerspectiveProjection = new PerspectiveProjection();
projection.projectionCenter = new Point(stage.stageWidth / 2, stage.stageHeight / 2);
s.transform.perspectiveProjection = projection;


    1. Beginning Silverlight 5 in C#


      View Book