MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 1021

Actionscript 2.0 language reference
Table of Contents

Advertisement

If this method returns
user canceled the print job), any subsequent calls to
if previous calls to
PrintJob.addPage()
command sends the successfully spooled pages to the printer.
If you passed a value for
corner (0,0 coordinates) of the printable area on the page. The user's printable area is
described by the read-only
Because the printout aligns with the upper left corner of the printable area on the page, the
printout is clipped to the right and/or bottom if the area defined in
the printable area on the page. If you haven't passed a value for
larger than the printable area, the same type of clipping takes place.
If you want to scale a movie clip before you print it, set its
MovieClip._yscale
original values afterward. The scale of a movie clip has no relation to
you specify that you print an area that is 50 x 50 pixels in size, 2500 pixels are printed. If you
have scaled the movie clip, the same 2500 pixels are printed, but the movie clip is printed at
the scaled size.
The Flash Player printing feature supports PostScript and non-PostScript printers. Non-
PostScript printers convert vectors to bitmaps.
Availability: ActionScript 1.0; Flash Player 7
Parameters
- A number or string; the level or instance name of the movie clip to print.
target:Object
Pass a number to specify a level (for example, 0 is the
marks [""]) to specify the instance name of a movie clip.
[optional] - An object that specifies the area to print, in the following
printArea:Object
format:
{xMin:topLeft, xMax:topRight, yMin:bottomLeft, yMax:bottomRight}
The coordinates you specify for
point of the
movie clip (if
_root
. You must provide all four coordinates. The width (
target
) must each be greater than 0.
yMin
Points are print units of measurement, and pixels are screen units of measurement; points are
a fixed physical size (1/72 inch), but the size of a pixel depends on the resolution of the
particular screen. You can use the following equivalencies to convert inches or centimeters to
twips or points (a twip is 1/20 of a point):
1 point = 1/72 inch = 20 twips
(for example, if you haven't called
false
were successful, the concluding
, the
printArea
xMin
and
pageHeight
properties before calling this method, and set them back to their
printArea
= 0) or of the level or movie clip specified by
target
PrintJob.start()
PrintJob.addPage()
and
coordinates map to the upper left
yMin
properties set by
pageWidth
printArea
MovieClip._xscale
movie), or a string (in quotation
_root
represent screen pixels relative to the registration
xMax-xMin
or the
will fail. However,
PrintJob.send()
PrintJob.start()
is bigger than
printArea
and the Stage is
and
. That is, if
printArea
) and height (
yMax-
PrintJob
.
1021

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents