If you've been involved in Flash for less than six years or so, you might not have a full appreciation of the ActionScript drawing application programming interface (API). From my viewpoint, its release in Flash MX in late 2002 revolutionized scripted graphics in Flash. Prior to Flash MX, there was no way to dynamically generate any graphic content at all. Even writing this now, it seems hard to believe, but it's true—if you wanted something visible to appear in your SWF, you had to draw it on stage or import it to the library at author time, or load it in at run time. Naturally, there were various tricks, such as keeping a movie clip in your library with a single line in it and attaching numerous instances of ...

Get AdvancED ActionScript 3.0 Animation 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.