printAsBitmap( ) Global Function

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By 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( )



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net