# Link to open PDF documents

**URL:** <https://forum.kirupa.com/t/link-to-open-pdf-documents/172932>\
**Category:** flash\
**Created:** [December 19, 2005, 6:38pm UTC](https://forum.kirupa.com/t/link-to-open-pdf-documents/172932 "2005-12-19T18:38:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc0047](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@marc0047](https://forum.kirupa.com/u/marc0047)\
**Post date:** [December 19, 2005, 6:38pm UTC](https://forum.kirupa.com/t/link-to-open-pdf-documents/172932/1 "2005-12-19T18:38:15Z")

</div>

I currently have a button link that opens up a pdf document. On some browsers the default action is to download the file to the user’s desktop. On other browsers the default action is to open it up right inside the browser.

Is there a way to force download it to the user’s desktop, so the experience is consistent from browser to browser? Thanks.

```auto

on(release) {
	getURL("test.pdf");
}

```
