hi guys,
I have been lookin through the forums at the various
ways of opening files within your director movie,
and it looks like the Buddy API 3.6 xtra is the way to
go. Everything works grand.
However there was a few bits of code am havin trouble
with.
This is the thread,
It has a small bit of code wrote by kennethkawamoto which brings up a dialogue box telling the user to instal acrobat
reader if it is not installed on their computer, heres the code am using:
on mouseUp me
baOpenFile("D:\Work\example.pdf", "normal")
if result = 31 then
alert("Please install Acrobat!")
end if
Problem is director is givin me a script error alert,
it dont like the line '31'.
Any help on this matter would be greatly appreciated.
Cheers Marty
I have been lookin through the forums at the various
ways of opening files within your director movie,
and it looks like the Buddy API 3.6 xtra is the way to
go. Everything works grand.
However there was a few bits of code am havin trouble
with.
This is the thread,
It has a small bit of code wrote by kennethkawamoto which brings up a dialogue box telling the user to instal acrobat
reader if it is not installed on their computer, heres the code am using:
on mouseUp me
baOpenFile("D:\Work\example.pdf", "normal")
if result = 31 then
alert("Please install Acrobat!")
end if
Problem is director is givin me a script error alert,
it dont like the line '31'.
Any help on this matter would be greatly appreciated.
Cheers Marty