What we'll cover in this chapter:
Using the drawing API in Flash to dynamically create lines, curves, fills, and pattern effects
Working with scripted color
Understanding data-driven sites
Creating the color transitions for the Futuremedia case study
Defining the data structure for the case study
One cool feature of Flash is the drawing API, which allows you to create new content within your movie clips. You can now go straight to the engine room of the movie clip and produce new sketches on the fly. In fact, you can create three things:
Although you could emulate lines in early versions of Flash, you couldn't control the movie clip with clever scripting to create controlled curves or fills. And it all started ...