I am editing a project I created in director mx. Part of this was when the user clicks on the button the pdf file opens automatically using
on mouseDown me
baOpenFile (the moviePath & "esoca.pdf" , "normal")
In the original project it works but I made changes to the content of the pdf document and now it no longer works. Can anyone tell me what I might be doing wrong?
Did you include the xtra with the projector?
You really should be examining the value returned by the function for errors. Read the documentation around what the various values returned mean:
on mouseUp me nReturned = baOpenFile (the moviePath & "esoca.pdf" , "normal") if ( nReturned < 32 ) then alert "Error opening document:" && nReturned end