View Full Version : [fmx] how to create a download
ducki518
February 10th, 2003, 05:34 PM
Does anyone know how to make it so that you can have a pdf download from a flash site???
(I have the pdf already created and I want it downloadable on a button mouse down)
Thanks!
Cassie
ducki518@aol.com
senocular
February 10th, 2003, 05:39 PM
zip it.
CyanBlue
February 10th, 2003, 05:39 PM
Howdy...
Use getURL() function to do that...
But... before you do that, there is one thing you have to think... Many times when you click on the PDF file on the web, what happen??? Do you see the file downloading or do you see that PDF file inside of the web browser??? Usually they are two kinds of typical actions you AND your users can get... To make sure that you are forcing it to be downloaded, ZIP the PDF file first and then use
on (press)
{
getURL("myPDFfile.ZIP");
}to get that file downloaded when the button is pressed or any other occasions...
Good luck...
lostinbeta
February 10th, 2003, 06:00 PM
AND DON'T CROSSPOST! :scream:
senocular
February 10th, 2003, 06:10 PM
That too! :scream:
:stalk:
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.