View Full Version : Link to PDF file using fscommand exec on Mac?
jaydogaspires
02-06-2002, 12:23 AM
I'm using an applescript to open a PDF file. It works great when I call it like this from the code in flash:
on (release) {
fscommand ("exec", "nameOfyourAppleScript");
}
Do the AppleScript and files have to be in the same folder as the projector? I want to have them in folders for better organization and a cleaner look on the final project for the client.
:confused: :mad:
in pc do
on (release) {
fscommand ("exec", "myfoldername/nameOfyourAppleScript");
}
don't know how you path in apple, but should work... of course, if you upgrade to the newest flash 5 player this won't work at all cause macromedia has disabled the "exec" command from the player(at least for windows, need to test for apple... anyone know?).
jaydogaspires
02-06-2002, 05:06 PM
Are you saying that the exec command no longer works? in Flash 5's newest player. Keep in mind that I am creating an .exe file and a mac projector so it is actually an application rather than a .swf file. I should be ok to use the exec fscommand then, right? My whole project is based on this flash.exe file opening up 52 different manuals that are PDF's. Please advise.
check at mm site, i don't know status for mac player, but for windows player, my understanding is that macromedia has disabled the "exec" command for fscommand for projector files (".exe"), because of the new flash virus. i will look around and see if i can find the documentation on this and will post a link here.
looks like this is for the windows stand-alone player here is the doc.
http://www.macromedia.com/support/flash/ts/documents/standalone_update.htm
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.