Downloading Images from Flash to the desktop

Hello,

Would anyone be able to help me? I have images displayed in my flash site, and I put a “Download” images button so that anyone could come and download the hi-res picture. However, when you click on the button another window pops up with the enlarged image. Is there anyway that I can have the image automatically downloaded to the desktop rather than having the images open in a new window?

Any help would be appreciated.

Thanks!

its a good question but that is impossible i think since the image embedded int he flahs movie. You can directly say the name of the image something like this

getURL(“http://www.mystie.com/mypicture.jpg”);

The userwill be promted to download the file.

Or you could do this:

getURL("http://www.mystie.com/mypicture.zip");

with the zip containing the specific picture, the user will automatically be prompted to download the file and no window will open. :wink:

Yaaaaaaa… the above one is better 'cause the JPG loaded to the same window… Cello’s method is safe and more efficient.follow that… Ok

or you could do

getURL(“http://www.mysite.com/mypicture.jpg”, “_blank”);

so it brings up a different window. This way you don’t have to navigate away from your website and you don’t have to bother unzipping the picture.

Ads.