Skip to main content
  • Book
  • © 2006

Foundation ActionScript Animation

Making Things Move!

Apress

Authors:

  • The only definitive and authoritative book available on ActionScript animation

  • Provides for a thorough understanding of complex principles, along with practical examples

  • You don't have to be an ActionScript expert to get the most out of this book

  • Written by Keith Peters, author of many books, and a popular community figure

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (19 chapters)

  1. Front Matter

    Pages i-xviii
  2. Actionscripted Animation Basics

    1. Front Matter

      Pages 1-2
    2. Rendering Techniques

      Pages 69-98
  3. Basic Motion

    1. Front Matter

      Pages 99-100
    2. Boundaries and Friction

      Pages 123-146
  4. Advanced Motion

    1. Front Matter

      Pages 161-162
    2. Easing and Springing

      Pages 163-188
    3. Collision Detection

      Pages 189-209
    4. Billiard Ball Physics

      Pages 235-262
  5. 3D Animation

    1. Front Matter

      Pages 323-324
    2. 3D Basics

      Pages 325-358

About this book

Sure you can animate using motion tweens—in fact, we'll help you do that with our Flash Cartoon Animation book—but isn't there something extra special in making things move with just a few lines of code?

In this book Keith Peters guides you through some basic animation theory and then demystifies the math and physics behind creating realistic animation, looking at trigonometry, velocity and acceleration, and bouncing & friction.

This book will teach you how to use Flash ActionScript to move the objects in your movies, rather than letting Flash's tween engine do it for you. The benefit of this is smaller, more realistic, more dynamic interactive movies that seem to come alive on your screen. Almost all of the code featured in this book will work fine in either Flash MX 2004 or Flash 8, and with a few minor adjustments, most of it can even be applied to Flash MX.

Although the text covers many advanced math and physics concepts, making for very realistic motion, there's no need to worry, even if you're a relative newcomer to programming and the last math class you took was in high school (and even if you barely remember that!).

This book first covers everything you need to know to get started: the principles of animation, and the basics of ActionScript, trigonometry, and Flash rendering methods. You'll work your way through slowly, from using code to move a single object across the screen to creating complex systems that really push Flash's capabilities, with topics covered including collision detection, particle attraction, and kinematics. The book concludes with looking at 3D animation techniques, including building a basic 3D engine, 3D lines, fills and solids, and matrix math.

Once you come to grips with the ideas presented here, you'll find yourself creating all manner of exciting animations and games!

About the author

Keith Peters lives in the vicinity of Boston with his wife, Kazumi, and their daughter, Kristine. He has been working with Flash since 1999, and has co-authored many books for friends of ED, including Flash MX Studio, Flash MX Most Wanted, and the ground-breaking Flash Math Creativity. In 2001, he started the experimental Flash site, BIT-101 (BIT-101.com), which strives for a new, cutting edge, open-source experiment each day. The site won an award at the Flashforward 2003 Flash Film Festival in the Experimental category. In addition to the experiments on the site, there are several highly regarded Flash tutorials which have been translated into many languages and are now posted on web sites throughout the world. Keith is currently working full time doing freelance and contract Flash development and various writing projects.

Bibliographic Information

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access