We are producing a cross platform CD-ROM and need to launch
PDFs. We have purchased Buddy API and have the Windows version
working fine. When we publish the Mac version it refuses to launch
Acrobat, even though I can see the api being included during the
I have installed the cross platform 'flattened' versions of
the api into the relevant directories and indeed the Mac does NOT
error saying it can't see the api.
So it must be down to my code I think, here it is - any
advise is very welcome - thanks. The PDF's are all kept inside the
'MEDIA' folder btw.
The baOpenFile command has a built in method of telling you
problem is. It will return an error code when it runs. As a
adjust your code like this, then try it on the Mac:
on mouseUp me
tDelimiter = the last char of the moviePath
tFile = _movie.path & "MEDIA" & tDelimiter &
OK = baOpenFile(tFile, "normal")
That alert will be a number. Check out the help file for
the baOpenFile page and it will tell you what all the numbers
My guess is that it will be "file not found" or something
if that is the case, make sure that the media folder is
visible to the
Mac operating system. Making x-plat CDs is a tricky procedure
a folder will only appear on one partition and not the other.
is the case, then re-master the CD and make sure that the
folders are available to both partitions.