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 ...
Get Fundamentals of ActionScript 3.0: Develop and Design 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.