-
Hia, tricky one here and cant find any reference to it anywhere online.
Just used the ftoolapp.exe method to open a local PDF on windows machines, brilliant- but now need the equivelant for the macs like yesterday-
anyone know of a sloution to opening a local pdf thru flash on a mac??
cheers
jon
__________________
jonster.
-
-
got it
thanks master,
found it and got it- for anyone else out there here's how it's done:
this is for a local presentation being run from a cd. to get this to work locally you'll need to create a disk image (using shrinkwrap or Toast) containing all your files (SWF/projector, applet and PDF)
use the fs command on your button as follows to call an applescript from flash:
on (release) {
fscommand ("exec", "name_of_your_applet");
}
-
I wasn`t us lucky as you. Didn`t find one. Please share that applescript.
Thanks.
-
the rest of the solution
sorry the message only appeared in half of the full answer:
here's the applescript to call from Flash:
tell application "Finder"
activate
select file "your-file.pdf" of disk "Your Disk"
open selection
end tell
Your-file.pdf and applescript must be in the root with your flash files and "Your Disk" should be the name of the root volume, (eg CD) created as a disk image.
hope this helps, mail me with any Q's....
jonnywab
jon@dotcomms.net
-
You can also open them from the fs command, you need something like this.
Fs Command(exec,"Macintosh HD:Folder:filename")
I prefer this method because you use no extrenal files, just remember to keep the spaces in the path names and use : instead of \ like you use in windows
-
Hi jonnywab...it does not hurt to tell here where you found the original information/solution, don't you think... : )
(because there i wrote the full and complete explanations for flash5 and flash MX)
and ci-berpages...your solution just works on hd's, not on cds, and just with apps, not with files
applescripts
more
-
you can create your own applescript by opening the applescript editor and "recording" your movements - much like actions in Photoshop. You can then take that and toy with it to suit your needs.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|