# Downloading Images from Flash to the desktop

**URL:** <https://forum.kirupa.com/t/downloading-images-from-flash-to-the-desktop/62090>\
**Category:** Uncategorized\
**Created:** [August 24, 2004, 11:11pm UTC](https://forum.kirupa.com/t/downloading-images-from-flash-to-the-desktop/62090 "2004-08-24T23:11:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolbeans40](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@coolbeans40](https://forum.kirupa.com/u/coolbeans40)\
**Post date:** [August 24, 2004, 11:11pm UTC](https://forum.kirupa.com/t/downloading-images-from-flash-to-the-desktop/62090/1 "2004-08-24T23:11:10Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 25, 2004, 8:51am UTC](https://forum.kirupa.com/t/downloading-images-from-flash-to-the-desktop/62090/2 "2004-08-25T08:51:07Z")

</div>

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](http://www.mystie.com/mypicture.jpg)”);

The userwill be promted to download the file.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 25, 2004, 8:55am UTC](https://forum.kirupa.com/t/downloading-images-from-flash-to-the-desktop/62090/3 "2004-08-25T08:55:22Z")

</div>

Or you could do this:

```auto
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. 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 25, 2004, 9:00am UTC](https://forum.kirupa.com/t/downloading-images-from-flash-to-the-desktop/62090/4 "2004-08-25T09:00:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 25, 2004, 9:24am UTC](https://forum.kirupa.com/t/downloading-images-from-flash-to-the-desktop/62090/5 "2004-08-25T09:24:58Z")

</div>

or you could do

getURL(“[http://www.mysite.com/mypicture.jpg](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.
