# FileReference

**URL:** https://forum.kirupa.com/t/filereference/295494
**Category:** flash
**Created:** [August 31, 2009, 12:52pm UTC](https://forum.kirupa.com/t/filereference/295494 "2009-08-31T12:52:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Ricky55](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@Ricky55](https://forum.kirupa.com/u/Ricky55)
#### Post date: [August 31, 2009, 12:52pm UTC](https://forum.kirupa.com/t/filereference/295494/1 "2009-08-31T12:52:49Z")

</div>

Hi

I’ve been using file reference in AS3 for users to download PDF’s and images. This works great as the user gets the save as dialogue box which I really like.

I’ve now got to make sure edits to an older project that uses AS2. I could use a getURL with a \_blank but this isn’t quite what I want.

Can the file reference be used in AS2 and if so how would i write it? If its not available is there any other way of doing this?

Thanks

Ricky
