macromedia.director.basics
[Top] [All Lists]

Re: Buddiy API cross platform woes

Subject: Re: Buddiy API cross platform woes
From: Mike Blaustein <mblaustein@xxxxxxxxx>
Date: Wed, 27 Feb 2008 07:03:51 -0500
Newsgroups: macromedia.director.basics


The baOpenFile command has a built in method of telling you what the problem is. It will return an error code when it runs. As a test, 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 & "Recovery.pdf"
 OK = baOpenFile(tFile, "normal")
 alert string(OK)

 end

That alert will be a number. Check out the help file for BuddyAPI, on the baOpenFile page and it will tell you what all the numbers mean.

My guess is that it will be "file not found" or something similar, and 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 and often a folder will only appear on one partition and not the other. If that is the case, then re-master the CD and make sure that the appropriate folders are available to both partitions.

<Prev in Thread] Current Thread [Next in Thread>