# Open a save as window for a .jpeg

**URL:** <https://forum.kirupa.com/t/open-a-save-as-window-for-a-jpeg/285559>\
**Category:** flash\
**Created:** [April 2, 2009, 9:38am UTC](https://forum.kirupa.com/t/open-a-save-as-window-for-a-jpeg/285559 "2009-04-02T09:38:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elgringoson](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@elgringoson](https://forum.kirupa.com/u/elgringoson)\
**Post date:** [April 2, 2009, 9:38am UTC](https://forum.kirupa.com/t/open-a-save-as-window-for-a-jpeg/285559/1 "2009-04-02T09:38:03Z")

</div>

Is it possible to open a save as windows from flash to download a jpeg? At the moment I can download a zip file using the following code, but when I change the extension to .jpg it opens up a new browser window showing the image.

```auto
function onMouse1Click(evt:MouseEvent){
    var request:URLRequest = new URLRequest("images/SPR.zip");
    navigateToURL(request);
}
download_btn.addEventListener(MouseEvent.CLICK, onMouse1Click);

```

Cheers 🍺
