schadeberg
10-12-2001, 08:52 AM
Hello again,
Im doing a short animation intro for a mulimedia CD using Flash...so far so good. I have all the pc files working well, however to get the macintosh files running, I'm busy trying to get a button to open a .pdf file.
So far I have this info from Zoomfreddy:
____________________________________________
copy and paste in to the Applescript editor
tell application "Finder"
activate
select file "yourfile.pdf" of disk "YourDisk"
open selection
end tell
(just change the name of file and disk and leave the " ")
and save as:"your prefered name"
for it to work you need to make a disk image, name it and drop your files inside.
the code in flash:
on (release) {
fscommand ("exec", "nameOfyourAppleScript");
}
_______________________________________
The thing I'm still battling with is where I need to make a disk image....not sure about that?..Its stumped me
Any help would be appreciated
Cheers - Frank
Im doing a short animation intro for a mulimedia CD using Flash...so far so good. I have all the pc files working well, however to get the macintosh files running, I'm busy trying to get a button to open a .pdf file.
So far I have this info from Zoomfreddy:
____________________________________________
copy and paste in to the Applescript editor
tell application "Finder"
activate
select file "yourfile.pdf" of disk "YourDisk"
open selection
end tell
(just change the name of file and disk and leave the " ")
and save as:"your prefered name"
for it to work you need to make a disk image, name it and drop your files inside.
the code in flash:
on (release) {
fscommand ("exec", "nameOfyourAppleScript");
}
_______________________________________
The thing I'm still battling with is where I need to make a disk image....not sure about that?..Its stumped me
Any help would be appreciated
Cheers - Frank