Reputation: 382
Is it possible to print a webpage that contains flash content? Maybe using jQuery?
I have a page with some SWF objects that need to be printed, but I can't find a way to print them in Firefox.
I could use plugins, but I don't want to force visitors to use any plugin in order to be able to print the page.
Upvotes: 0
Views: 2413
Reputation: 1229
Well, this is quite a complex method but it just might work. For this to work you will have to be able to edit all flash files on the page though, AND this will have to be a browser that supports Base64 encoded image sources (I don't think IE supports it).
This is quite an overkill though, but if you really really need people to be able to print the page AND the flash objects, this would be one way to make that happen.
Upvotes: 1
Reputation: 5198
Like ThiefMaster said. Not using flash is probably the best way.
But if you still want to print flash. You could try to ping a server-side script (php) which would snap shot the page you want and display the image which flash can then print using flash's printjob functionality.
Hope that helps!
Upvotes: 2