Skip to main content
somascope
Inspiring
March 8, 2008
Question

Printing all asets that appear on the stage?

  • March 8, 2008
  • 1 reply
  • 284 views
What is the simplest way of print all the various shapes, sprites and movieclips that I have dynamically displayed on the stage? I know the PrintJob class accepts 1 sprite with its PrintJob.addPage() method, but I don't want to create a new sprite and all everything to that (and position everything relative to eachother) - seems like I'd be duplicating what I do for displaying stuff visually. This would also mean every time I want to print the entire stage of a project, this code would have to be custom - very inefficient.

So, I think I might be missing something obvious (I hope so). Any thoughts?
This topic has been closed for replies.

1 reply

somascope
somascopeAuthor
Inspiring
March 9, 2008
After struggling with this issue, I've decided to (currently) go with a bitmap solution. You can create a bitmap of the stage and 100% of its contents with the code below. The downside of this - for printing - is that the quality is lower than when printing vector artwork. (If anybody has a solution to my issue above, please post)