I’m having a problem launching PDFs under Mac OS X using PDF Xtra 3.0
Here’s the scenario…
I’m using PDF Xtra 3.0 in Director MX under OS X. I have one PDF Xtra sprite on the stage.
In the PDF Xtra sprite options:
1. the “Link File” is set to documents/blank.pdf”.
2. Path is set to “relative to movie”
3. “Global” option is set to “Reader”
The following folders are both located in the root level of the CD:
1. Reader (containing Acrobat Reader 5.0)
2. documents (containing all of the actual PDFs)
When the user clicks on a button to launch a PDF, the variable “docPath” is set to:
“documents” & pathDelim & pdfLanguage & “_” & whichPDF
so docPath now equals something like:
“documents:en_mypdf.pdf”
I then launch the PDF with the following code:
PDF_Open(sprite(1), docPath)
-- “PDF_Open” is the only PDF Xtra 3.0 function supported under OS X
On all Windows test machines this works perfectly. On the Macintosh, it only opens “blank.pdf” – the PDF file that was explicitly set in the PDF Xtra 3.0 sprite properties dialog. It ignores the name of the file in docPath. I have confirmed that it is using the appropriate path delimiter ) and have also tried to use the forward bracket (/) which is suppose to be supported cross-platform.
Any help would be greatly appreciated!
Regards,
Ed Jose
mBlaze Multimedia Design, Inc.
ed_jose@mBlaze.com
Here’s the scenario…
I’m using PDF Xtra 3.0 in Director MX under OS X. I have one PDF Xtra sprite on the stage.
In the PDF Xtra sprite options:
1. the “Link File” is set to documents/blank.pdf”.
2. Path is set to “relative to movie”
3. “Global” option is set to “Reader”
The following folders are both located in the root level of the CD:
1. Reader (containing Acrobat Reader 5.0)
2. documents (containing all of the actual PDFs)
When the user clicks on a button to launch a PDF, the variable “docPath” is set to:
“documents” & pathDelim & pdfLanguage & “_” & whichPDF
so docPath now equals something like:
“documents:en_mypdf.pdf”
I then launch the PDF with the following code:
PDF_Open(sprite(1), docPath)
-- “PDF_Open” is the only PDF Xtra 3.0 function supported under OS X
On all Windows test machines this works perfectly. On the Macintosh, it only opens “blank.pdf” – the PDF file that was explicitly set in the PDF Xtra 3.0 sprite properties dialog. It ignores the name of the file in docPath. I have confirmed that it is using the appropriate path delimiter ) and have also tried to use the forward bracket (/) which is suppose to be supported cross-platform.
Any help would be greatly appreciated!
Regards,
Ed Jose
mBlaze Multimedia Design, Inc.
ed_jose@mBlaze.com