Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > Projectors and CDs

Reply
 
Thread Tools Rating: Thread Rating: 13 votes, 4.92 average. Display Modes
Old 10-10-2001, 05:38 AM   #1
schadeberg
Registered User
 
Join Date: Sep 2001
Location: Australia
Posts: 10
Send a message via ICQ to schadeberg
Default projector button link to .pdf file (macintosh)

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
schadeberg is offline   Reply With Quote
Old 10-10-2001, 10:02 AM   #2
zoomfreddy
anything...are you sure?
 
zoomfreddy's Avatar
 
Join Date: Jul 2001
Location: Mexico City
Posts: 560
Cool Hi there!!!

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.....
zoomfreddy is offline   Reply With Quote
Old 10-10-2001, 10:57 AM   #3
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Old 10-10-2001, 11:28 AM   #4
schadeberg
Registered User
 
Join Date: Sep 2001
Location: Australia
Posts: 10
Send a message via ICQ to schadeberg
Default

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
schadeberg is offline   Reply With Quote
Old 10-11-2001, 03:20 AM   #5
zoomfreddy
anything...are you sure?
 
zoomfreddy's Avatar
 
Join Date: Jul 2001
Location: Mexico City
Posts: 560
Cool the applescript!!!

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.


zoomfreddy is offline   Reply With Quote
Old 10-11-2001, 03:33 AM   #6
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Old 10-11-2001, 05:14 AM   #7
schadeberg
Registered User
 
Join Date: Sep 2001
Location: Australia
Posts: 10
Send a message via ICQ to schadeberg
Default

thanks again Zoomfreddy & Jesse...urban legends,

I'll let you know how I go.

Frank
schadeberg is offline   Reply With Quote
Old 10-12-2001, 08:44 AM   #8
schadeberg
Registered User
 
Join Date: Sep 2001
Location: Australia
Posts: 10
Send a message via ICQ to schadeberg
Default battling on last stage

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
schadeberg is offline   Reply With Quote
Old 10-12-2001, 10:58 AM   #9
schadeberg
Registered User
 
Join Date: Sep 2001
Location: Australia
Posts: 10
Send a message via ICQ to schadeberg
Default BINGO

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
schadeberg is offline   Reply With Quote
Old 10-15-2001, 08:08 PM   #10
zoomfreddy
anything...are you sure?
 
zoomfreddy's Avatar
 
Join Date: Jul 2001
Location: Mexico City
Posts: 560
Cool cool!!!

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!!!
zoomfreddy is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 06:28 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.
You Rated this Thread: