# Inserting PDF

**URL:** <https://forum.kirupa.com/t/inserting-pdf/15181>\
**Category:** Uncategorized\
**Created:** [March 11, 2003, 4:17pm UTC](https://forum.kirupa.com/t/inserting-pdf/15181 "2003-03-11T16:17:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![digletinms](https://avatars.discourse-cdn.com/v4/letter/d/5fc32e/32.png) [@digletinms](https://forum.kirupa.com/u/digletinms)\
**Post date:** [March 11, 2003, 4:17pm UTC](https://forum.kirupa.com/t/inserting-pdf/15181/1 "2003-03-11T16:17:05Z")

</div>

Can someone tell me how I can make a button target a pdf file?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 11, 2003, 5:00pm UTC](https://forum.kirupa.com/t/inserting-pdf/15181/2 "2003-03-11T17:00:35Z")

</div>

same way you would a normal url. add this code to the button  
instance:

```auto
 on (release) {
	getURL("http://www.domain.com/file.pdf");
}

```

OR to get to it from a relative path

```auto
on (release) {
	getURL("folder/file.pdf");
}

```

this applies to anything from a button. 🙂

/unflux  
:goatee:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 11, 2003, 6:56pm UTC](https://forum.kirupa.com/t/inserting-pdf/15181/3 "2003-03-11T18:56:36Z")

</div>

If I have not adobe acrobat ? ☹
