The following list further illustrates the relationship between units of measure.
1 pixel = 20 twips
1 point = 20 twips
72 pixels = 1 inch
72 points = 1 inch
567 twips = 1 cm
1440 twips = 1 inch
To scale a movie clip before printing, set its
properties before calling this method, and set them back to their original values afterward. If
you scale a movie clip and also pass a value for the
to
reflect the original size of the movie clip. That is, if you set a movie clip's scale
printArea
to 50% and specify a print area of 500 x 500 pixels, the content that prints is identical to the
content that would print if you didn't scale the movie clip; however, it prints at half the size.
For more information, see the
function in the ActionScript 2.0 Language Reference.
printjob
Specifying printing as a vector image or bitmap graphic
The
parameter lets you specify whether to print as a vector graphic or bitmap image.
options
When using this optional parameter, use the following syntax:
{printAsBitmap:boolean}
The default value is
false
following suggestions when determining which value to use:
If the content that you're printing includes a bitmap image, you should specify that the
print job print as a bitmap to include any transparency and color effects.
Conversely, if the content does not include bitmap images, you should specify that the
print job print as vector graphics to take advantage of the higher image quality.
Specifying a frame to print
The
parameter lets you specify a frame to print. If you do not specify a frame
frameNum
number parameter, the current frame of the target or level specified as the first parameter
when adding a page prints by default.
542
Printing from SWF Files
MovieClip.xscale
addPage (PrintJob.addPage method)
, which represents a request for vector printing. Remember the
and
MovieClip.yscale
property, the pixel values passed
printArea
method of the
Need help?
Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?