EasyManua.ls Logo

MACROMEDIA FLASH 8-USING FLASH - Page 545

MACROMEDIA FLASH 8-USING FLASH
678 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Printing frames independent of the PrintJob class 545
Specifying a print area (when not using the PrintJob
object)
By default, when frames are printed, the document files Stage determines the print area. Any
object that extends off the Stage is clipped and does not print. Loaded movies use their own
Stage size for the print area, not the main movies Stage size.
As an alternative to using a document’s Stage size, you can set the following print areas:
For either the Flash Player context menu or the print() function, you can designate the
SWF content bounding box as the print area for all frames by selecting an object in one
frame as the bounding box. This option is useful, for example, if you want to print a full-
page data sheet from a web banner.
With the print() function, you can use the composite bounding box of all printable
frames in a Timeline as the print area—for example, to print multiple frames that share a
registration point. To use the composite bounding box, you use the
bMax parameter, as
shown in the following example:
print ("myMovie", "bmax")
With the print() function, you can change the print area for each frame, scaling objects
to fit the print area—for example, to have objects of different sizes in each frame fill the
printed page. To change the bounding box per frame, use the Frame parameter in the
Print action parameters, as shown in the following example:
print ("myMovie", "bframe")
With the print() function, you can designate the bounding box of a specific frame in
a document as the print area for all printable frames in the document, as shown in the
following example:
print ("myMovie", "bmovie")
You use the label #b to designate a frame to be used to designate the print area. The label #b
must be on the same layer as a frame labeled #p.
For more information about
print() function parameters, see print function in the
ActionScript 2.0 Language Reference.
To specify a print area when printing frames:
1. Open the Flash document (FLA file) containing the frames you will set to print.
2. Select a frame that you have not specified to print with a #p frame label. Select a frame that
is on the same layer as one labeled #p.
To organize your work, you can select the next frame after one labeled #p.

Table of Contents

Related product manuals