In the HTTP response send headers similar to this:

Content-Type: application/pdf
Content-Disposition: attachment;filename=mypdf.pdf

  Attila

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From:    Corban Baxter <[EMAIL PROTECTED]>
To:      Flashcoders mailing list <flashcoders@chattyfig.figleaf.com>
Date:    Monday, September 10, 2007, 6:32:24 PM
Subject: [Flashcoders] OT: Force download PDF
--====----====----====----====----====----====----====----====----====----===--
hey if I put a pdf link i flash and I saw. getURL("mypdf.pdf"); it keeps
trying to open it in the browser. how can i force the browser to download
the pdf?

-- 
Corban Baxter
http://www.projectx4.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to