I have looked at the help files and tried all 3 possible parameters, bframe, bmovie and bmax.
The only thing I want to print is a JPG I am loading into an empty mc and I don’t want it to scale to fit the paper. Looks bad and wastes ink.
If the mc is empty, I guess it has no bounding box parameters.
this.createEmptyMovieClip("holder_mc",this.getNextHighestDepth());
with (holder_mc) {
moveTo(0,0);
beginFill(0xfef02c);
lineTo(Stage.width,0);
lineTo(Stage.width,Stage.height);
lineTo(0,Stage.height);
endFill();
}
holder_mc.loadMovie("pic.jpg");
_root.holder_mc._x = 315;
_root.holder_mc._y = 0;
this.myBtn_btn.onRelease = function() {
myPR.activity(5,false,myPrintCoupon);
};
this.myBtn_btn.onRelease = function() {
printAsBitmap(this._parent.holder_mc, "bframe");
};