Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PDF Xtra and Mac OSX

Status
Not open for further replies.

mBlazeDC

Programmer
May 3, 2003
1
US
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
 
Hi Ed,

Steve Z. from INM Support here.
The reason that your document isn't opening is because PDF Xtra relies on Adobe's Acrobat and Reader to load the PDF Documents. On Mac OS X, Adobe's has limited 3rd party users so much in what functionalities can be used that none of the methods will work and the only way PDF Xtra will be able to open the document is if the path is passed in the Cast member's properties. Also the document will be opening externally and not in Director.

Regards,
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top