PDF doesn't open on CD version

Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default PDF doesn't open on CD version

    Hello,

    can anyone help me? I have created a projector on a CD that allows the user to open PDFs using Acrobat Reader. When I run the CD on the machine I created the projector on the CD works fine, but when I run it on any other computer the links to the PDFs don't work. I don't get any error messages, just nothing happens. The links to the PDFs use the 'moviePath' Lingo to direct to the PDF (same folder as the projector) and then use MoviePath again to state how to open the pdf, using the A.R. thats on the CD.

    Anyone any ideas why when its running off the cd it should work on one PC but not on others?

    Thanks in advance,

    Katherine


    Katherinep webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. My CS version will not open my Trial CS2 doc
      I have been using a trial version of Indesign CS2 (V4), and completed a doc for a client. Now I am using a computer with a registered version of CS,...
    2. CS won't open my version 9 files!
      I upgraded 2 weeks ago to X Panther and Illustrator CS. I have hundreds of 9 files and most of them open and work fine, but, today I just discovered...
    3. PDF file doesn't open in web browser for Version 5 but does open for version 6
      This problem was solved by uninstalling Acrobat and reinstalling it. Then I downloaded the latest patch and installed that.
    4. cannot open freehand files in macintosh version
      Hello, Recently I've change my network from Macintosh to windows xp. All programs seem to be working well, but I cannot open freehand files and I...
    5. Images created on Mac version won't open on Windows version
      "michypooh" webforumsuser@macromedia.com wrote: everything works fine. I emailed them to myself at home but when i try to open them in Fireworks...
  3. #2

    Default Re: PDF doesn't open on CD version

    I would use BUddyAPI to open PDF files. The "open" command is hit or miss.

    Hope this helps.

    Charles Parcell
    Team Macromedia Volunteer for Director MX
    -----------------------
    Posted via Web Forums
    Charles Parcell webforumsuser@macromedia.com Guest

  4. #3

    Default Re: PDF doesn't open on CD version

    In article <bjqubc$6ii$1@forums.macromedia.com>, "Katherinep"
    [email]webforumsuser@macromedia.com[/email] wrote:

    It will probably work better with an xtra. You can use Kent Kersten's free
    FileXtra3 to launch Acrobat with the PDF:

    [url]http://www.kblab.net/xtras[/url]

    on mouseUp
    pathToFile = the moviepath & "whatever.pdf"
    pathToParentApp = the moviepath & "Acrord32.exe"
    pathToFile = QUOTE & pathToFile & QUOTE
    instance = new(xtra "filextra3")
    fx_FileRunApp(pathToParentApp & " " & pathToFile)
    end

    Gretchen Macdowall
    [url]http://www.updatestage.com/[/url]
    Gretchen Macdowall Guest

  5. #4

    Default Re: PDF doesn't open on CD version

    Thanks for all the help so far, am currently trying to use the FileXtra4 as its free! Only thing is im new to xtras so I am still a little stuck!

    I have put the Xtra into a folder called Xtras in the same folder as my projector and then I put the code that Gretchen gave me into my button (but changed the name to fileXtra4). But I am getting a script error saying it can't find the xtra

    Script error: Xtra not found
    instance = new(Xtra "FileXtra4")

    This is the code im using

    on mouseDown
    pathToFile = the moviepath & "Letter.pdf"
    pathToParentApp = the moviepath & "AcroRd32.exe"
    pathToFile = QUOTE & pathToFile & QUOTE
    instance = new(Xtra "FileXtra4")
    fx_FileRunApp(pathToParentApp & " " & pathToFile)
    end mouseDown

    Any further help would be great as I am sure this is a simple thing to do!

    Cheers,

    Katherine


    Katherinep webforumsuser@macromedia.com Guest

  6. #5

    Default Re: PDF doesn't open on CD version

    Ok,

    I have managed to fix my own problem so thought that if anyone else has the same problem it would be good to show how I fixed it.

    1. I put FileXtra4 in the folder with the projector.

    2. Then in director go to

    Window>Message

    type in

    openXlib "FileXtra4"

    then you can type

    showXlib

    this shows that it has been added ok.

    3. Then use this bit of code in your button

    on mouseDown
    fxObj = xtra("FileXtra4").new()
    put fxObj.fx_FileRunApp("Reader\AcroRd32.exe Letter.pdf")
    -- 1
    fxObj = 0
    end mouseDown


    Seems to work ok for me, hope this helps anyone with the same problem


    Katherinep webforumsuser@macromedia.com Guest

  7. #6

    Default Re: PDF doesn't open on CD version

    In article <bk6qt1$oq6$1@forums.macromedia.com>, "Katherinep"
    [email]webforumsuser@macromedia.com[/email] wrote:
    > Thanks for all the help so far, am currently trying to use the FileXtra4
    as its free! Only thing is im new to xtras so I am still a little stuck!
    >
    > I have put the Xtra into a folder called Xtras in the same folder as my
    projector and then I put the code that Gretchen gave me into my button
    (but changed the name to fileXtra4). But I am getting a script error
    saying it can't find the xtra
    >
    > Script error: Xtra not found
    > instance = new(Xtra "FileXtra4")
    >
    If you are sure that the file "filextra4.x32" is in your xtras folder, it
    sounds like something happened to it, because it is not getting recognized
    by Director. Best bet is to download it again.
    > This is the code im using
    >
    > on mouseDown
    > pathToFile = the moviepath & "Letter.pdf"
    > pathToParentApp = the moviepath & "AcroRd32.exe"
    > pathToFile = QUOTE & pathToFile & QUOTE
    > instance = new(Xtra "FileXtra4")
    > fx_FileRunApp(pathToParentApp & " " & pathToFile)
    > end mouseDown
    >
    I see that the code has a slight error in it. Sorry about that. It's not
    the cause of your problem, but use this instead:

    on mouseDown
    pathToFile = the moviepath & "Letter.pdf"
    pathToParentApp = the moviepath & "AcroRd32.exe"
    pathToFile = QUOTE & pathToFile & QUOTE
    instance = new(Xtra "FileXtra4")
    fx_FileRunApp(instance,pathToParentApp & " " & pathToFile)
    end mouseDown

    Gretchen Macdowall
    [url]http://www.updatestage.com/[/url]
    Gretchen Macdowall Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139