Skip to main content
Participant
April 4, 2006
Question

Opening A PDF Using Flash

  • April 4, 2006
  • 2 replies
  • 278 views
OK, so there are countless hits on Google regarding this question, but there is not a single decent answer out there which seems to work. All I need is a surefire way of opening a PDF document after the user clicks a button. That is all. Most of the answers on the web talk about batch files for use on a CD or whatever. All I need is a simple way of getting the PDF to open.

I've tried using the getURL command but this only works if the browser window is already open, otherwise it gives an error.


Any ideas?
This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
October 7, 2007
use the fscommand function.
Inspiring
April 4, 2006
Yes there is. Use FlashJester JStart

http://jstart.flashjester.com

Download the evaluation copy and look at the example files provided.

Regards
FlashJester Support Team
e. - support@flashjester.com
w. - http://www.flashjester.com

There is a very fine line between "hobby" and
"mental illness."


October 7, 2007
what is the actionscript to do it :
This is for a url what is it to open a pdf?
inv_btn.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest(" http://www.deseloper.com/gnome"));
trace("You clicked me.");