Name
printAsBitmapNum( ) Global Function — print the frames of a document level as bitmaps
Availability
Flash 5
Synopsis
printAsBitmapNum(level, boundingBox)
Arguments
- level
A non-negative integer or an expression that yields a non-negative integer, indicating the document level to print.
- boundingBox
A string indicating how the printed frames of
targetshould be cropped when printed, as described earlier underprint( ).
Description
The printAsBitmapNum( ) function is nearly
identical to printAsBitmap( ) except that it
requires the target level of the print
operation to be specified as a number rather than as a string. This
means that printAsBitmapNum( ) can print only
document levels, not movie clips. It is normally used when we wish to
dynamically assign the level of a movie to print, as in:
var x = 3; printAsBitmapNum(x, "bmax");
which could also be achieved using string concatenation with the
regular printAsBitmap( ) function:
printAsBitmap("_level" + x, "bmax");Usage
See Usage notes under the print( ) function.
See Also
print( ), printAsBitmap( ),
printNum( )
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access