Skip to main content
Participant
December 5, 2008
Question

CopyBitmap Data and PrintJobOptions issue

  • December 5, 2008
  • 2 replies
  • 337 views
Just spent a few hours and found what appears to be a very unusual issue.

If I use a printJob.addPage( currently displaying document );
I can add a PrintJobOptions with printAsBitmap set to true. This is needed to correctly print the PNG transparencies I am using.

However, I need to scale the data, so I copy the current MovieClip into a new Sprite using BitmapData. The problem is that if I try to print this new sprite using the printAsBitmap, the page is blank. I can however print this sprite without the printAsbitmap and everything prints perfectly.

Is there a good explanation for why this is occuring??

Thanks,
This topic has been closed for replies.

2 replies

PixelBardAuthor
Participant
December 18, 2008
Wrote up my experience and code with this so everyone can see the code and what did and didn't work.

Flash Printing Tutorial
December 16, 2008
I am having this same issue...if I dont printAsBitmap it prints but with the ugly black squares but as soon as I set printAsBitmap to true... it only prints blank page.

is this a bug? is there a work around?

too bad no one ever responded.