User Guide
692 Chapter 2: ActionScript Language Reference
Example
The following example prints all the printable frames in holder_mc with a print area defined by
the bounding box of each frame:
this.createEmptyMovieClip("holder_mc", 999);
holder_mc.loadMovie("http://www.macromedia.com/devnet/mx/blueprint/articles/
nielsen/spotlight_jnielsen.jpg");
this.myBtn_btn.onRelease = function() {
print(this._parent.holder_mc, "bframe");
};
In the previous ActionScript, you could replace bframe with bmovie so that the print area is
defined by the bounding box of a frame with the
#b frame label attached.
See also
printAsBitmap(), printAsBitmapNum(), PrintJob class, printNum()