# Save image locally without dialog box?

**URL:** <https://forum.kirupa.com/t/save-image-locally-without-dialog-box/302392>\
**Category:** flash\
**Created:** [December 29, 2009, 12:43pm UTC](https://forum.kirupa.com/t/save-image-locally-without-dialog-box/302392 "2009-12-29T12:43:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arundracula](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@arundracula](https://forum.kirupa.com/u/arundracula)\
**Post date:** [December 29, 2009, 12:43pm UTC](https://forum.kirupa.com/t/save-image-locally-without-dialog-box/302392/1 "2009-12-29T12:43:44Z")

</div>

I know how to save images from flash using JPGEncoder/PNGEncoder using FileReference.save();

But I don’t want the dialogbox displayed.  
I want this: Clicking a button will save the image to a predefined location without user confirmation.  
OR  
Is there anyway to store BitmapData locally so that I can access it later from flash?
