MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 1022

Actionscript 2.0 language reference
Table of Contents

Advertisement

1 inch = 72 points = 1440 twips
1 cm = 567 twips
You can't reliably convert between pixels and points; the conversion rate depends on the
screen and its resolution. If the screen is set to display 72 pixels per inch, for example, one
point is equal to one pixel.
If you have previously used
to print from Flash, you might have used a
When using the
print area;
frame labels are ignored.
#b
If you omit the
printArea
is printed. If you don't want to specify a value for
target
value for
or
options
[optional] - A parameter that specifies whether to print as vector or bitmap,
options:Object
in the following format:
{printAsBitmap:Boolean}
The default value is
false
a bitmap, pass
for printAsBitmap. Remember the following suggestions when
true
determining which value to use:
If the content that you're printing includes a bitmap image, use
to include any transparency and color effects.
If the content does not include bitmap images, omit this parameter or use
{printAsBitmap:false}
If
is omitted or is passed incorrectly, vector printing is used. If you don't want to
options
specify a value for
options
.
options
[optional] - A number that lets you specify which frame to print; passing a
frameNum:Number
does not cause the ActionScript on that frame to be invoked. If you omit this
frameNumber
parameter, the current frame in
If you have previously used
to print from Flash, you might have used a
which pages to print. To use
a
PrintJob.addPage()
to do this programmatically, see the Example section.
1022
ActionScript classes
,
print()
printAsBitmap()
method, you must use the
addPage()
parameter, or if it is passed incorrectly, the full Stage area of
, pass
frameNumber
null
, which represents a request for vector printing. To print
to print the content in higher quality vector format.
but want to specify a value for
is printed.
target
,
print()
printAsBitmap()
PrintJob.addPage()
command for each frame;
,
printAsBitmapNum()
frame label to specify the area to print.
#b
printArea
printArea
for
.
printArea
frameNumber
,
printAsBitmapNum()
frame label on multiple frames to specify
#p
to print multiple frames, you must issue
frame labels are ignored. For one way
#p
, or
printNum()
parameter to specify the
but want to specify a
target
{printAsBitmap:true}
, pass
for
null
, or
printNum()
as

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents