Save file to viewer computer

Hey,

What’s the procedure to make a graphic downloadable to someones computer in flash? I have a banner ad that I want accesible to viewers so they can take it and display it on their own website.

Hmm…you probably just mean like a link, right? Most internet browsers automatically save files if it doesn’t have a protocol for it. So, anything that it does not have a protocol for (like a fla) would be downloaded instead of displayed if the browser received a request to get a file…


//I'd probably have this on a button...
//yeah, it's a real file, and tripod shouldn't mind
//hasn't lagged in a while, anyway...
getURL("http://wryle.tripod.com/html.zip");

Though the following probably won’t download the file through your browser (I’m using IE and it doesn’t).


//another real file
//it does, however, display the file
getURL("http://wryle.tripod.com/p01.jpg");

That should work,
–Elios