PDA

View Full Version : Creating a link that downloads an zip file



malidia
March 5th, 2005, 01:24 PM
Okay, i understand that you have to have a .zip file usually to force a browser to download the file using the getURL command to the URL of the .zip file. But when i have a link in a pop-up page, it just gives me a error 404 page

so far the AS looks like this



on (press){
getURL(www.troyblank.com/download/beeswax.zip (http://www.troyblank.com/download/beeswax.zip));
}



Does anyone know how i can fix this problem???

(you can see what i have done by going to troyblank.com and clicking on the goodies button and then clicking on the beeswax text and then download)

Bluedackers
March 5th, 2005, 01:29 PM
Putting http:// in front of the link should solve it :)

Digitalosophy
March 5th, 2005, 01:29 PM
on(press){
getURL("http://www.troyblank.com/download/beeswax.zip","_blank");
}

malidia
March 5th, 2005, 01:36 PM
yep, i just figure that out, such a tard i am, but hey when i use the "_blank" script it doesn't work, the window pops up and then is killed, i have pop ups in check, but when i don't use "_blank" everything is fine, i don't know why that is, but as long as it works i am happy

Digitalosophy
March 5th, 2005, 01:40 PM
wierd, as long as it works :kommie: