ActionScript for Flash MX: The Definitive Guide, Second Edition

ActionScript for Flash MX: The Definitive Guide, 2nd EditionBy Colin Moock
Chapter 18.  ActionScript Language Reference
printAsBitmap( ) Global Function Flash 5

print the frames of a movie or movie clip as bitmaps

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 notes under the print( ) function.

See Also

print( ), printAsBitmapNum( ), printNum( )

    Категории