O'Reilly logo

Fundamentals of ActionScript 3.0: Develop and Design by Doug Winnie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

16. Drawing with ActionScript

You might have thought that ActionScript didn’t have a creative side—up until this chapter, that would seem true. But you can be just as creative with ActionScript as you can be with the Pen tool. In fact, a whole class of art that is generated by code is growing in popularity.

In this chapter, you’ll start to crack open the creative part of coding and learn the basics for unleashing the graphics API of ActionScript to draw directly in your project—all with code.

Drawing and Code

The Flash runtime includes an application programming interface, or API, that allows you to create generative artwork in projects. The statements and properties of the API are pretty expansive, and you might be surprised to learn that they ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required