Jump to content

Print all movies within a Flash component?


Recommended Posts

Hi,

 

I am using a Flash component which displays multiple swfs as pages of a book. I have a button and action script which can print out the left page, and one for the right, but I need a button which prints ALL pages of the book. I tried adding them to the print list but only the pages currently on view are displaying on the printout, the rest appear blank. Does anyone know how I would force the other pages to load for the printout?

 

In case it helps, here is what I have tried so far:

print_all_btn.onPress = function() {
printPages();
};

function printPages() {
var page0 = myBook.getPageLink(0);
var page1 = myBook.getPageLink(1);
var page2 = myBook.getPageLink(2);
var page3 = myBook.getPageLink(3);
my_pj = new PrintJob();
my_pj.start();
my_pj.addPage(page0, {});
my_pj.addPage(page1, {});
my_pj.addPage(page2, {});
my_pj.addPage(page3, {});
my_pj.send();
delete my_pj;
}

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.