# Saving a jpg from a flash slideshow

**URL:** https://forum.kirupa.com/t/saving-a-jpg-from-a-flash-slideshow/211478
**Category:** Uncategorized
**Created:** [January 2, 2007, 4:10am UTC](https://forum.kirupa.com/t/saving-a-jpg-from-a-flash-slideshow/211478 "2007-01-02T04:10:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![h3liumX](https://avatars.discourse-cdn.com/v4/letter/h/b9e5f3/32.png) [@h3liumX](https://forum.kirupa.com/u/h3liumX)
#### Post date: [January 2, 2007, 4:10am UTC](https://forum.kirupa.com/t/saving-a-jpg-from-a-flash-slideshow/211478/1 "2007-01-02T04:10:21Z")

</div>

Hi there, I created a flash slideshow and would like to have a feature to save the current picture to the hard disk (like ‘save as’ in IE). I was looking into something as follows:

```auto
getURL("javascript:document.execCommand('SaveAs', 1, 'save.jpg')", "_blank");

```

but, I first need to open the picture in the browser like this:

```auto
getURL(LocalLinkToPic, "_blank");

```

Is there any way to combine these so that with one click the user can save a jpg to disk. Or has anyone else run into this issue and have a better solution to this. Thanks.
