Edward Posted June 1, 2008 Share Posted June 1, 2008 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; } Link to comment https://forums.phpfreaks.com/topic/108180-print-all-movies-within-a-flash-component/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.