-
Click button to download a .zip file
Hi..
I have a button in my movie that, when clicked, should download a .zip file on my server. I used the getURL command, but that didn't work. Can anyone help me?
Thanks,
Ansia
-
FK's Geezer Mod
on(release){
getURL("http://www.yoursite.com/zipfile.zip", "_self");
}
-
That didn't work. Isn't there a "get file" command or something for getting files?
-
FK's Geezer Mod
No, just link to the zip file. It has to be there and you have to use the full path to it, including any folder name it may be in.
Show the link to it.
-
That's what I'm doing. The file is there and I'm linking to the full URL. What happens, is the URL displays, including the file.zip -- and nothing happens. Just a blank page with the URL to the file name showing.
-
FK's Geezer Mod
What's supposed to happen is a little window to download and save pops up. Like the one we've all seen. Your not getting that?
-
no, I'm not --- just a blank page. I wish I could show you the exact URL, but the material is sensitive to my client.
-
Boy do I feel like a flippin idiot - I had wwww.etc instead of www.etc in my code. Geesh!!!!!!! It works now. Thanks for your help.
-
FK's Geezer Mod
You shouldn't get a page at all, just the little popup. That is, if you testing from the movie in an html page.
Try this, send the link to yourself in an e-mail. When you get it back, click the link from the mail it should open.
If it isn't, there may be a MIME problem with the server.
Try this, and see if you get the popup, it'll work the same for a fla as a zip;
http://www.learningflashmx.com/fla/attachmovie.fla
-
FK's Geezer Mod
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|