
printAsBitmapNum() Global Function
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
741
// Print every frame in the main movie timeline,
// sizing each frame relative to the combined size of all frames
print("_root", "bmax");
When the print_btn button is clicked, Flash prints all frames in the button’s parent time-
line, cropped to the bounding box of the frame with the label
#b, and sized to fill the page:
print_btn.onRelease = function () {
print(this._parent, "bmovie");
}
See Also
getURL(), printAsBitmap(), printAsBitmapNum(), printNum()
printAsBitmap() Global Function
print the frames of a movie or movie clip as bitmaps
Flash 5
printAsBitmap(target, boundingBox)
Arguments
target A string or reference indicating the path to the movie clip or document level
to print (references are converted to paths when used in a string context).
boundingBox
A string—either
"bframe", "bmax",or"bmovie"—indicating how the printed
frames of
target should be cropped or scaled when printed, as described
earlier under print().
Description
The printAsBitmap() function is functionally identical to print(), except that it outputs
rasterized content to the printer, not vectors. Therefore, it can successfully print movies
with alpha channels and color transformations, but it produces poorer quality for vector-
based artwork.
Usage
See Usage ...