printNum( ) Global Function | Flash 5 |
print the frames of a document level using vectors |
A nonnegative integer or an expression that yields a nonnegative integer, indicating the document level to print.
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( ).
The printNum( ) function is nearly identical to print( ), 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 printNum( ) can print document levels only, not movie clips. It normally is used to dynamically assign the level of a movie to print, as in:
var x = 3; printNum(x, "bmax");
which can also be achieved using string concatenation with the regular print( ) function:
print("_level" + x, "bmax");
See Usage notes under the print( ) function.
print( ), printAsBitmap( ), printAsBitmapNum( )