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 Rate Thread Display Modes
Old 02-02-2002, 07:35 AM   #1
Parker
Registered User
 
Join Date: Feb 2002
Location: Leucadia, CA
Posts: 5
Unhappy Link Flash projector to EPS files?

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
Parker is offline   Reply With Quote
Old 02-02-2002, 08:53 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Old 02-02-2002, 05:56 PM   #3
Parker
Registered User
 
Join Date: Feb 2002
Location: Leucadia, CA
Posts: 5
Talking Almost...

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
Parker is offline   Reply With Quote
Old 02-04-2002, 06:25 AM   #4
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse 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
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


All times are GMT. The time now is 02:26 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.