MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 379

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

Each call to add a new page is unique, which lets you modify parameters without affecting
previously set parameters. For example, you can specify that one page print as a bitmap image and
another page print as a vector graphic. You can add as many new pages to your print job as the
print job requires. One call to add a page equals one printed page.
Note: Any ActionScript that needs to be called to change a resulting printout must run before the
PrintJob.addPage() method is called. The ActionScript can, however, run before or after a new
PrintJob(). If a frame has a call to the PrintJob.addPage() method, the call itself does not
guarantee that the ActionScript script on that frame will run when that frame is printed.
Specifying a target
The
parameter can be either a number that represents a level (such as 0 for the _root
target
document), or a string that represents the instance name of a movie clip (
Specifying a print area
The
printArea
{xMin:Number, xMax:Number, yMin:Number, yMax:Number}
The
,
,
xMin
xMax
clip registration point. The print area orientation is from the upper left corner of the printable
area on the page. If the print area is larger than the printable area on the page, then the print data
that exceeds the right and bottom edge of the page is clipped.
(-18,-18)
(0,0)
If you don't specify a print area, or if you specify an invalid print area, the print area defaults to
the Stage area of the root document.
optional parameter includes the following values:
, and
values represent screen pixels relative to the target level or movie
yMin
yMax
Paper rectangle
Page rectangle
(576,756)
(594,774)
).
"myMovieClip"
Starting a print job
379

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents