Wednesday, May 30, 2007

Drawing API using Actionscript v.3 (or v.2)



This two part lesson covers the Drawing API using both Actionscript 3 (in Flash CS3) and Actionscript 2 (in Flash 8). So what the heck is the Drawing API?!

The Drawing API allows you to create shapes using only code. So don't let the word "Drawing" in the title of this lesson confuse you. The traditional Flash drawing tools are totally off limits. Part one covers the basics of creating shapes (circle, squares, etc) and scripted filters (bevels, blurs, glows, etc). Part two teaches various ways to animate them.

One note about the code: Most of the line-by-line programming and code explanations will be done using Actionscript 3. At the end of each example, we'll look at the same code using Actionscript 2, which is very similar.

Check out the details and super psychedelic examples here... Drawing API Tutorials