Captivate published Swf to open an external PDF file

Hi all,
I need help to open an external PDF file from the swf file.
I used this previously. But realised that I can only open the pdf file from the published html file but not the swf file.
function onClick() {
window.open("mypdf.pdf");
onClick();
Can anyone tell me what is wrong as i am not very good with javascript.
Thanks.

Lilybiri is correct that you should be able to use the Open URL or File action.
But I also just tested your JS code on my own PC here in Captivate (triggered by a button set to Execute Javascript) and it worked fine.
If you are testing this locally on your PC hard drive, have you made sure that the publish folder location is set up as a trusted location in your Flash Global Security settings?  It might not be working for that reason. 
You can also try uploading your SWF and PDF file to a web server and testing from there.  Flash Global Security doesn't tend to bother content from a web server.

Similar Messages

  • Opening an external PDF file

    I am using an application called PdfName.exe to open an
    external PDF file, this application just runs and opens the file. I
    configure this app correctly and put it on an fscommand folder and
    when I double click it it open the file I need. However when I try
    to open it with a button on my Flash presentation using the
    following ActionScript
    on (release) {
    fscommand ("exec", "PdfName.EXE");
    it fails, it opens the application just fine but it can't
    find the PDF anymore, which btw is in an external folder to
    fscommand (i also tried inside fscommand\)
    any ideas?
    any other way to open the PDF?

    http://jstart.flashjester.com
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    "This has been one of the most impressive and thoroughly
    pleasant
    experiences of customer support I have ever come across -
    astounding!"
    Director - hedgeapple

  • Opening external pdf file from director

    i'm a newby to director - is there an easy way to open an
    external pdf file from director. just need it to open in another
    window
    cheers s

    simon way wrote:
    > i'm a newby to director - is there an easy way to open
    an external pdf file from director. just need it to open in another
    window
    > cheers s
    Hi Simon,
    This is very much a FAQ. I have an answer to it at:
    http://www.fbe.unsw.edu.au/learning/director/resources/FAQ/pdf.asp
    As Sean suggested, it's worth searching the group as often
    questions have been covered before, and in this case, many times
    before.
    You can use Google to search through forums at:
    http://groups.google.com/advanced_group_search
    Or simply from the Adobe site at:
    http://www.adobe.com/cfusion/webforums/forum/search.cfm
    regards
    Dean
    Director Lecturer / Consultant
    http://www.fbe.unsw.edu.au/learning/director
    http://www.multimediacreative.com.au

  • Published Project for MAC (.app) and will not open external PDF files

    I have two captivate (7.x) projects that I published as Win .exe apps, and they work fine.  Published the same two projects as MAC (.app) and when I run the app on the iMac, and click a click box to open an external PDF, nothing happens. The PDFs are located in the "root" folder with the .app file.
    Any suggestions?
    Thanks!
    JackL
    Windows 7
    Adobe Captivate 7

    Thanks for the feedback. I was able to open some PDF files on Acrobat 5 that I recently scanned at a Fed Ex office with no issue whatsoever. I could extract pages, delete pages, etc, the software Acrobat 5 worked fine.
    What I wonder is there a way I can make a change to a PDF file that will then allow me to open it in Acrobat 5? I have a gut feeling there is an adjustment that I can make in Adobe Reader after opening it that will then make the file accessible in Acrobat 5. I am playing with it but no luck thus far.

  • I have just upgraded to OSX 10.6.8 and now I cannot open or save PDF files from the internet. I get a dialogue box saying the QuickTime plugin has failed. I have tried to download the latest plugin but this doesn't work. Can anyone help?

    I have just upgraded to OSX 10.6.8 and now I cannot open or save PDF files from the internet using either Safari or Firefox. I get a dialogue box saying the QuickTime plugin has failed. Can anyone help?

    Is this what you downloaded: iTunes 10.7?
    When the update fails what if any error report do you get, specifically? Please do this before trying again:
    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

  • Embed an external PDF file into the XML

    Dear All,
    We have a program which creates the XML file on the Application server when we execute it.
    My requirement is to Embed an external PDF file into the XML file while generating it through
    program from SAP.
    Please let me know how this is possible.
    Thanks & Regards,
    Vinit

    Yes, you can do it. You have to use an absolute path and add it not only to the folder but to the .manifest
    I wrote a blog post explaining how to do it:
    http://www.captivatecrazy.blogspot.com/#!http://captivatecrazy.blogspot.com/2012/03/embed- pdf-in-captivate-for-lms.html

  • I have Windows 98 and need Acrobat to open up the pdf files for 5.0

    I have the old system, Windows 98 and presently have the free Adobe 5.0 version on my Compaq Presario Computer, and it is a 5242 model desktop.
    I have inadvertanly switched over to Compaq Carbon Copy 32 Version 5.0 but since, have uninstalled it and now, on each of what was the pdf files initially of which I have, of which is at least 16 or more, on each of those files, an error message comes up and says "PROGRAM NOT FOUND," and states the following: "Windows cannot find CCW32EXE. This program is needed for opening the pdf files." And then it has a dialogue box with the computer operational symbol in it as C:\ and then it wants me to locate it. I cannot locate it through the "auto" because, this sytem being so old, doesn't have a magnifying glass or a "search" tool to do this in the "My Computer Icon on the Desktop as the Compaq people wanted me to do. I would have to do this manually. I have already talked to the Compaq people on their chat line and because of this, they said they couldn't help me with this problem and referred me over to you.
    I've tried to find a download for 5.0, though I really don't think I need one since it is currently installed. I believe the proper way to fix this is to just convert the CCW32EXE over to the Acrobat pdf files and have those files opened and should open up all of my 15 or so files altogether at the same time because they all converted over to something else at the same time prior.
    Are you able to help me?
    But I believe to alleviate this problem, if you could just give me the information to be able to open up the pdf files to 5.0 and find out what download I may pursue, it might be able to correct this problem. I already have the 5.0 Acrobat installed, however.

    Hi Aandi,
    I have followed your directions and I have the old system of Windows 98, so I had to go to "programs" and come up to Acrobat 5.0 and once in there, all of the Window there is greyed out, although I can still go to the tool bars above in it. I went to "file" and went to "open" and from there, I received an "open" window with a dialogue box in it and in that dialogue box as I scrolled down, it wants me to put in there, one of the following, "desktop," "my documents," "3 1/2 floppy [A:]," "[C:]," "system _save [D:]," ""[E:," "[F:]," ete; of these which do I pick in the "open" dialogue box? and down at the bottom, is the FILE NAME and what do I put in there? Just below that, it has the FILES OF TYPE which has there Adobe pdf Files, in it's dialogue box. I hit these, but I still get an error message of which basically says, "NOT FOUND, please put in proper file name given." And I don't know actually where it is given.
    So, as you see, I am a novice in all of this and you can contact me at my e mail address which is [email protected]
    and should a reply be needed, I'll come back to the forum for a reply.
    I really need to open up the Adobe 5.0 pdf files. All of the pdf files, simultaneously went over to Compaq Carbon Copy 32 of which I since, uninstalled. But I really need to get back and open the Adobe 5.0 pdf files.
    And I want to thank you for your support and eagerly awaiting your help.
    Thanks,
    Now, I did do one of the following: I went to C: which came to Acobat 3 and I hit that which came to Reader and I hit that which came to the following: ACROBAT which gave me ACTIVE X - BROWSER - FONTS - HELP - OPTIONAL - PLUG-INS

  • How to open-up a pdf file to a particular page via java? (file and page number from another program)

    I have created an Access 2003 Form. Data is entered. The data can be viewed once entered in the same form format, with one addition. The addition is a link to another program where we store files. The files stored are pdf documents. Each document is a scanned file (500+ pages). The link can open-up the pdf file. I want the link to open-up the pdf file to a particular page. I will supply the page number from the database.
    I am aware of Adobe Acrobat 7.0 PDF Open Parameters using a URL that specifies the file to be opened plus actions to be performed once the file is openend (i.e. http://example.org/doc.pdf#page=3). However, the 3rd party program transfers a file from a server to the client via java. The file does not go via a web browser. The java code transfer the file directly from the file server to the the client.
    Any idea how to accomplish the task of viewing a particular page with the process flow described?
    I am using Adobe Acrobat 7.0 Professional.

    So you are reading this file in a standalone version of Acrobat? If so then use the PDF Open Parameters /a option via the command line.
    Sabian
    Example:
    C:\Program Files\Adobe\Acrobat 7.0\Acrobat>Acrobat.exe /A "zoom=1000=OpenActions" "C:\Program Files\Adobe\Acrobat 7.0\Acrobat\SimpleSubmit.pdf"
    Where:
    Path to Acrobat: C:\Program Files\Adobe\Acrobat 7.0\Acrobat>Acrobat.exe
    Note: The example starts in the Acrobat application directory
    Switch: /A
    Parameter Syntax: "zoom=1000=OpenActions"
    Path to file: "C:\Program Files\Adobe\Acrobat 7.0\Acrobat\SimpleSubmit.pdf"
    Note: The quotes are very important for the syntax to work appropriately.

  • When I try to open an .ai/pdf file received through my email, it won't open and asks for a password. I have never set up any kind of password for email security, but have tried typing in my standard passwords. Nothing works. I wonder if it has anything to

    When I try to open an .ai/pdf file received through my email, it won't open and asks for a password. I have never set up any kind of password for email security, but have tried typing in my standard passwords. Nothing works. I wonder if it has anything to do with the use of my Wacom3 Tablet...I've been having trouble with it and was getting the same message when trying to open the User's Manual in my Applications/WacomTablet file on my hard drive. Any suggestions? I just downloaded the latest version for the Wacom and recently upgraded to Snow Leopard 10.6.7 (which I hate, and my CS3 hates, etc.)

    It sounds like you have a a password-protected PDF. The password was set by the person who encoded it.

  • When I try to open an embedded PDF file I get an error "The program used to create this object is AcroExch.exe.

    When I try to open an embedded PDF file (Word doc) I get an error "The program used to create this object is AcroExch.exe. That program is either not installed on your computer, or is corrupt..."  I've tried  about everything from unchecking
    protected mode at startup to removing & reinstalling Adobe.  Nothing seems to fix this issue.  Any other ideas?
    This is happening on Adobe reader 9, 10 & 11 with MS Word 2010 & 2013.  I've uninstalled, cleaned & reinstalled Reader 9, 10 & 11, as well as Acrobat 10 Pro & 11 Standard.  Removed "Protected mode at startup, and changed
    the default program for viewing from reader to Acrobat.  This will not go away.  It is affecting production at our company.

    " Help > Troubleshooting Information > Profile Directory: Open Containing Folder" . i can't find open containing folder in profile directory. it does give me the option to open the places.sqlite file using graphic converter. when i try that, graphic converter gives me a window saying that it can't be opened because it is corrupted or is not a file type supported by graphic converter.
    i appreciate your help with a workaround to get the old bookmarks. that works. however, the problem has morphed from that concern to why adobe reader [the default app.] won't open firefox .sqlite files. is the problem in adobe reader or firefox? also, how can i tell if the places.sqlite file is corrupt?
    i'm getting in over my head here and do appreciate your help.

  • HT1338 My mac is becoming too slow. It takes long to open word documents, pdf files or excel documents or even safari. Can anybody suggest something? I have tried to reduce the number of open applications, but does not seem to work.

    My mac is becoming too slow. It takes long to open word documents, pdf files or excel documents or even safari. Can anybody suggest something? I have tried to reduce the number of open applications, but does not seem to work.

    Hi ...
    Checked to see how much free space there is on the startup disk lately?
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space.
    Freeing Up Hard Disk Space - Mac GuidesFreeing Up Hard Disk Space - Mac Guides
    If disk space is not the issue, booting in Safe Mode deletes system caches that may help.
    A Safe Mode boot takes longer then a normal boot so be patient.
    Once you see the Desktop, click the Apple menu icon top left corner of the screen.
    From the drop down menu click Restart.
    See if that makes a difference ...

  • Why can't I open a Adobe PDF file sent to me by e-mail as an attachment?

    Why can't I open a Adobe PDF file sent to me by e-mail as an attachment?

    I don't know. What exactly happens? (Exactly - including all error messages in full please) What is your computer (e.g. Windows 7), browser, and email program?

  • Can I open an encrypted pdf file from Dropbox with my iPhone, iPad, or iPad Mini?

    Mac OS 10.9.3 encrypts a pdf file using Acrobat XI, then sends it to Dropbox.  Mobile device retrieves encrypted file from Dropbox.  Then can mobile device user open (unencrypt) the pdf file?

    George, you wrote something that encouraged me to try to encrypt a PDF document again using the security icon on the menu bar of my old Acrobat 8 Professional. It worked this time (it wouldn't encrypt on my first try, and I wrongly assumed that it wasn't compatible with Maverick OS).  I dropped document into Dropbox, retrieved it with mobile devices; and when I tapped on the document, it simply asked for the password and opened perfectly. When moving to a different screen, then back to the secured PDF file, one must re-enter the password again (which is good).
    As far as what PDF viewer -- I don't know.  I have the Acrobat Reader APP on my devices, is that the reader the document is using??  I've never figured out which APPs are running at any particular time on these devices.
    Many, many thanks for your reply!!

  • After installing Reader 11.0.07 update on my Mac OS X 10.8.5, when I open an Adobe pdf file I see Chinese script next to the blue loading bar at the bottom of the screen.  This never appeared before and I am concerned that my computer is being hacked into

    After installing Reader 11.0.07 update on my iMac OS X, v.10.8.5, when I open an Adobe pdf file I see Chinese script next to the blue loading bar at the bottom of the screen.  This never appeared before when downloading pdf files and I am worried that my computer is being hacked into or I acquired a virus.  Is this normal or do I have to uninstall this update?

    After installing Reader 11.0.07 update on my iMac OS X, v.10.8.5, when I open an Adobe pdf file I see Chinese script next to the blue loading bar at the bottom of the screen.  This never appeared before when downloading pdf files and I am worried that my computer is being hacked into or I acquired a virus.  Is this normal or do I have to uninstall this update?

  • Every time I open a pdf file which includes a javascript, a dialogue box pops up. I have a question why 'Do not show this message again' is not working even I checked on the checkbox. It should block the dialogue next time when I open the same pdf file bu

    Every time I open a pdf file which includes a javascript, a dialogue box pops up. I have a question why 'Do not show this message again' is not working even I checked on the checkbox. It should block the dialogue next time when I open the same pdf file but not working. What is the matter and how can I deal with it?

    I am trying it on Adobe Acrobat Reader 9.2.1. Tried to fix Hex code, and also tried 'edit-preference-trust manager'. I focusing on Adobe registries but still couldn't fix the problem.

Maybe you are looking for