| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
Hello again,
I'm doing well so far in making up a Flash projector intro for a CD. This intro will have an animation which self loads and then allows the user to press a button which is to open up a pdf file. So far I have everything working well for the pc version....however regarding the macintosh version I'm battling with the function where the user is able to select a pdf file which is available on the same CD. At this stage Im using the 'getURL' FS Command, but it attempts to open up explorer and then opens up the Acrobat file. This is not ideal because the user has to close Explorer ..there must be a way to open up the Acrobat file without IE opening up as well. I'd appreciate any advice here? Frank |
|
|
|
|
|
#2 |
|
anything...are you sure?
Join Date: Jul 2001
Location: Mexico City
Posts: 560
|
You have to make a "applescript" that open the .pdf (call the applescript, not the .pdf, search in the forums for the applescript, i made one some time but don't remember if i posted it.....
|
|
|
|
|
|
|
|
|
#3 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
I made a new tute about this (but it's for Windows systems only): http://www.actionscripts.org/tutoria...cs/index.shtml
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
#4 |
|
Registered User
|
STILL STUMPED,
Thanks for replying Jesse & Zoomfreddy.... Seems the answer is to have an AppleScript, which will then open the pdf file. Does anyone know where I can find such a script for...which will make this all work on a Macintosh?? Thanks - Frank |
|
|
|
|
|
#5 |
|
anything...are you sure?
Join Date: Jul 2001
Location: Mexico City
Posts: 560
|
ok here is the script:
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 AppleScript and files have to be in the same folder as your swf's. ![]() |
|
|
|
|
|
#6 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Thanks for posting it, we haven't seen a working one before.
Keywords: applescript apple script launch file
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
#7 |
|
Registered User
|
thanks again Zoomfreddy & Jesse...urban legends,
I'll let you know how I go. Frank |
|
|
|
|
|
#8 |
|
Registered User
|
Hi Zoomfreddy.....
Thanks for your help so far.... I'm battling with the last step, not sure what to do with one aspect.....QUOTE "for it to work you need to make a disk image, name it and drop your files inside. " Not sure how to make a disk image..etc Any help would be appreciated Frank |
|
|
|
|
|
#9 |
|
Registered User
|
Got everything working....
Got the Disk Image thing happening... and the AppleScript works like a charm.... thanks Zoomfreddy...as I said you're amongst the urban legends Frank |
|
|
|
|
|
#10 |
|
anything...are you sure?
Join Date: Jul 2001
Location: Mexico City
Posts: 560
|
I am glad to know that my post help you, is just my two cents for all the good stuff i learn here
![]() If you have something helpful, share it!!! ![]() |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GetURL...trying to link to local htm file on intranet...very frustrating!!!!! | frogstomper | ActionScript 2.0 | 3 | 04-25-2007 11:53 AM |
| link a flash animation which has no buttons | nx571 | Other Flash General Questions | 2 | 10-17-2001 11:11 PM |
| Can I Link to a pdf file from a standalone projector? | bmarkle21 | ActionScript 1.0 (and below) | 8 | 08-20-2001 07:49 PM |
| Is it possible to make a link in my text file to a scene? | Theta Pro | ActionScript 1.0 (and below) | 11 | 06-02-2001 04:56 AM |