455
Chapter 22: Printing with Flash
You can add printing functionality to your Flash document that lets users print from Flash Player. You can use the
ActionScript 2.0
PrintJob
class, or you can use the
print()
or
printAsBitmap()
ActionScript functions. Users
can also access the Flash Player context menu and select the Print command there.
Additionally, users can print from a browser, rather than from Flash Player, by selecting a command such as File >
Print from the browser window.
Note:
For information on printing from SWF files at runtime using ActionScript 3.0, see “Printing” in Programming
ActionScript 3.0.
Printing from the Flash authoring tool
Print from Flash documents
To preview and edit your documents, print frames from Adobe® Flash® CS3 Professional documents, or specify
frames to be printable from Flash Player by a viewer.
When printing frames from a Flash document, use the Print dialog box to specify the range of scenes or frames to
print and the number of copies. In Windows, the Page Setup dialog box specifies paper size, orientation, and various
print options—including margin settings and whether all frames are to be printed for each page. On the Macintosh,
these options are divided between the Page Setup and the Print Margins dialog boxes.
The Print and Page Setup dialog boxes are standard in either operating system, and their appearance depends on the
selected printer driver.
Set printing options and print frames
1
Select File > Page Setup (Windows) or File > Print Margins (Macintosh).
2
Set page margins. Select both Center options to print the frame in the center of the page.
3
In the Frames menu, select whether to print all frames in the document or only the first frame of each scene.
4
In the Layout menu, select from the following options:
Actual Size
Prints the frame at full size. Enter a value for Scale to reduce or enlarge the printed frame.
Fit On One Page
Reduces or enlarges each frame so it fills the print area of the page.
Storyboard
Prints several thumbnails on one page. Select from Boxes, Grid, or Blank. Enter the number of thumb-
nails per page in the Frames box. Set the space between the thumbnails in the Story Margin box, and select Label
Frames to print the frame label as a thumbnail.
5
To print frames, select File > Print.