Specifying a print area when not using the PrintJob object

By default, when frames are printed, the document file’s 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 SWF file’s Stage size.

As an alternative to using a document’s Stage size, set the following print areas:

  • For either the Flash Player context menu or the ActionScript 2.0 print() function, designate the bounding box for SWF content as the print area for all frames by selecting an object in one frame as the bounding box. This option is useful, for example, to print a full-page data sheet from a web banner.

  • The print() function lets you 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, use the bMax parameter, as shown in the following example:

    print ("myMovie", "bmax")
  • The print() function lets you 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")
  • The print() function lets you 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 frame 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.

    Note: For information on printing from SWF files at runtime using ActionScript 3.0, see “Printing” in Programming ActionScript 3.0.

  This page on the Web