# Download a file in AS3

**URL:** <https://forum.kirupa.com/t/download-a-file-in-as3/241133>\
**Category:** flash\
**Created:** [October 10, 2007, 11:56am UTC](https://forum.kirupa.com/t/download-a-file-in-as3/241133 "2007-10-10T11:56:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kindoki](https://avatars.discourse-cdn.com/v4/letter/k/a6a055/32.png) [@kindoki](https://forum.kirupa.com/u/kindoki)\
**Post date:** [October 10, 2007, 11:56am UTC](https://forum.kirupa.com/t/download-a-file-in-as3/241133/1 "2007-10-10T11:56:59Z")

</div>

Hi guys,

I’m trying to do a very simple thing. To create a button that when pressed, a file is downloaded, a zip file for example. How do I do this in AS3??

I’m building an application using AIR, so I must use AS3… Browsers won’t be used.

Thank you very much

Kin
