PDA

View Full Version : Download Links


BadKharma
11-06-2003, 10:27 PM
I am developing my first website using Flash MX2004. And am learning as I go, my question is how do you create a download link for an item that you are going to dispaly in a movie clip. You see I create windows xp icons and I want to enable people to download them from my site.

black
11-06-2003, 10:33 PM
the common way is to package your icons into zip file and make a link for it, can this work for you ?

BadKharma
11-06-2003, 10:36 PM
yes that was what I was planning to do but I am unsure of the action script needed

black
11-06-2003, 10:43 PM
make a button of what you want others clicks(select it and press F8) and make a link with it by pressed F9(make sure you select the button first) and then add this line to action panel:


on(release)
{
var theURL = "http://yourDomain/yourZipFile.zip";
getURL(theURL, "_blank");
}


replace the string "http://yourDomain/yourZipFile.zip" into the right place you put the zip file, that's all.

Regards~

BadKharma
11-07-2003, 12:39 AM
thank you very much :D , being a newbie to flash I will try not to make to much of nuisance of myself