[fmx] how to create a download

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

zip it.

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…

AND DON’T CROSSPOST! :scream:

That too! :scream: