Can you print an external PDF from .SWF?

cavemantoyboy
cavemantoyboy used Ask the Experts™
on
Hi,

I am creating a touch screen using Adobe Flash.  Once the swf has been outputted and users are using it as a touchscreen, I need the print button to print an external PDF file and not the screen shot.  This is because the external PDF will be a printer friendly version.  Can this be achieved in Flash?

Cheers, All advice appreciated.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2009

Commented:
This cannot be achieved in flash directly but there are ways to do it. You either embed the swf in a webpage, or put it in an external container and use externalinterface to call the application to print.

Author

Commented:
This is a touchscreen so I can't embed it in a webpage because we don't want it to look like the internet.  How would I put it in an external container? What is an external conatiner?  What code would I use to print it?

Cheers, for your help thus far.
Top Expert 2009
Commented:
You simply use a language such as VB, C# or any others and put the flash control in it. Then run the program as a full screen program. VB is the easiest way to achieve this, whereas in languages such as C++ it's not as easy, unless you are using MFC or ATL.

Author

Commented:
I ended up creating a movieclip and printing that.  I don't know how to use this other language you suggested.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial