Ask a Question related to Macromedia Director Basics, Design and Development.
-
Katherinep webforumsuser@macromedia.com #1
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
-
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,... -
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... -
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. -
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... -
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... -
Charles Parcell webforumsuser@macromedia.com #2
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
-
Gretchen Macdowall #3
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
-
Katherinep webforumsuser@macromedia.com #4
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
-
Katherinep webforumsuser@macromedia.com #5
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
-
Gretchen Macdowall #6
Re: PDF doesn't open on CD version
In article <bk6qt1$oq6$1@forums.macromedia.com>, "Katherinep"
[email]webforumsuser@macromedia.com[/email] wrote:
as its free! Only thing is im new to xtras so I am still a little stuck!> Thanks for all the help so far, am currently trying to use the FileXtra4projector and then I put the code that Gretchen gave me into my button>
> I have put the Xtra into a folder called Xtras in the same folder as my
(but changed the name to fileXtra4). But I am getting a script error
saying it can't find the xtraIf you are sure that the file "filextra4.x32" is in your xtras folder, it>
> Script error: Xtra not found
> instance = new(Xtra "FileXtra4")
>
sounds like something happened to it, because it is not getting recognized
by Director. Best bet is to download it again.
I see that the code has a slight error in it. Sorry about that. It's not> 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
>
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



Reply With Quote

