Loving Flash for what it can do online isn't hard. But it's less well known for being a potentially killer application for print and graphic design, too. If you're a regular Illustrator user, you may well have wondered if there's any way to set your design to automate, so you can place a random spread of elements on a page, arrange them in a line or create curves and fills automatically.
But there's a problem. The image publishing features in Flash are designed for the web, not for print. Worse still, if you write a script and then try to publish the image it creates, you'll probably get nothing. Keyframed effects can be exported with no problems, but scripted effects are harder to handle.
So here I'll show you how to get around those limitations and create importable graphics files with a script. I'll also include some examples of the kinds of design effects this sort of scripting can create.