
Page 1 of 2 More and more Flash content creators are discovering the power of printing from the Flash Player. Since Flash Player 4, you've had the tools to print content from a Flash movie. Starting with Flash Player 7, a powerful ActionScript class named PrintJob has been on the scene to enable exacting control over printed output from a Flash movie. In this multi-part series, you learn how to build a printable certificate from a Flash movie. In this first installment, you learn how to create the certificate template in Adobe Illustrator CS2 and Flash 8.
TIP: If you'd prefer to learn the PrintJob API from the ground up, read Joey Lott's Printing Flash 7 Content series on Community MX. My series focuses more on a task-based approach, where you learn how to build a specific Flash printing application. Not all features of the PrintJob API will necessarily be covered.
In this section, you learn how to build a creative border for your certificate in Adobe Illustrator CS2. If you don't own this software, you can download a trial version here. Illustrator CS2 has many drawing utilities not available in the Flash authoring environment. Specifically, the options for strokes and fills within Flash 8 are somewhat limited. If you want to create a decorative border for a certificate, you should try Illustrator CS2's Brush Libraries.

Figure 1 - The New Document dialog box in Adobe Illustrator
CS2.

Figure 2 - The Rectangle dialog box.

Figure 3 - The new border applied to the rectangle.
TIP: You can peruse hundreds of line styles to apply to the rectangle artwork by selecting another library shown in the Windows > Brush Libraries menu.

Figure 4 - The Illustrator Options dialog box.
Keywords
Flash printing, PrintJob API, Illustrator CS2, Flash 8, Movie Clip instance, AI files