# Downloading Images from Flash to the desktop

**URL:** <https://forum.kirupa.com/t/downloading-images-from-flash-to-the-desktop/120494>\
**Category:** Uncategorized\
**Created:** [August 24, 2004, 11:11pm UTC](https://forum.kirupa.com/t/downloading-images-from-flash-to-the-desktop/120494 "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/120494/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:** ![NovemberRain](https://avatars.discourse-cdn.com/v4/letter/n/73ab20/32.png) [@NovemberRain](https://forum.kirupa.com/u/NovemberRain)\
**Post date:** [August 25, 2004, 8:51am UTC](https://forum.kirupa.com/t/downloading-images-from-flash-to-the-desktop/120494/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:** ![Cello](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@Cello](https://forum.kirupa.com/u/Cello)\
**Post date:** [August 25, 2004, 8:55am UTC](https://forum.kirupa.com/t/downloading-images-from-flash-to-the-desktop/120494/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:** ![NovemberRain](https://avatars.discourse-cdn.com/v4/letter/n/73ab20/32.png) [@NovemberRain](https://forum.kirupa.com/u/NovemberRain)\
**Post date:** [August 25, 2004, 9:00am UTC](https://forum.kirupa.com/t/downloading-images-from-flash-to-the-desktop/120494/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:** ![as\_clark20](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@as\_clark20](https://forum.kirupa.com/u/as_clark20)\
**Post date:** [August 25, 2004, 9:24am UTC](https://forum.kirupa.com/t/downloading-images-from-flash-to-the-desktop/120494/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.
