| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Feb 2002
Location: Leucadia, CA
Posts: 5
|
Hi everyone,
Gotta love google... that's how I found this board and so glad that I did. I'm developing a CD-Rom that will have both the Mac and PC Projector files (cross-platform) and a folder containing other assets - PDFs and EPS files. The Flash interface, ideally, would allow the user to download the EPS of their choice from the CD to their desktop. Is this possible? If so, what command do I use in Flash? I know with a PDF you can use the getURL, but this is an EPS that can't be opened in a browser. The EPS file doesn't need to be opened from the application. Just downloaded from the CD to the user's desktop. Is this possible and what's the script? Thanks, Parker |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Welcome. Since EPS isn't registerred to be viewed via the browser, GetURL should bring up the download prompt... doesn't it? What about if you use geturl and make the target window "_blank"?
__________________
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. |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Feb 2002
Location: Leucadia, CA
Posts: 5
|
Hi Jesse. Thanks for the tip. I can't believe I overlooked the _blank window.
This works for downloading word docs and jpegs. For EPS, it will try and download the file in Netscape 4.7 (mac) since it doesn't recognize it, but Explorer 5.0 (mac) gives me an "unhandled file type" error message and won't allow me to save the file. It forces you to find the application.Is there a work around for this? I haven't tested this on a PC, so I don't know if getURL has the same issues with EPS. Parker |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
The next best thing I can suggest is using a PHP or ASP file to send the header and force downloading of the file. See http://www.php.net/manual/en/function.header.php and related
__________________
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. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| adding a link in flash | timx1981 | ActionScript 1.0 (and below) | 5 | 10-17-2008 06:06 AM |
| [Q] Do we need those forums??? | CyanBlue | General Chat | 59 | 07-27-2004 12:13 PM |
| Macromedia Central | CyanBlue | ActionScript 1.0 (and below) | 13 | 08-01-2003 10:05 PM |
| opening files from flash projector | MrRee | Projectors and CDs | 4 | 12-16-2002 05:00 PM |
| Creating flash variables from txt files | Mathieu_BSL | ActionScript 1.0 (and below) | 16 | 08-28-2002 11:34 PM |