# Button code to open PDF doc?

**URL:** https://forum.kirupa.com/t/button-code-to-open-pdf-doc/254701
**Category:** Uncategorized
**Created:** [March 14, 2008, 12:01pm UTC](https://forum.kirupa.com/t/button-code-to-open-pdf-doc/254701 "2008-03-14T12:01:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![liscola](https://avatars.discourse-cdn.com/v4/letter/l/d9b06d/32.png) [@liscola](https://forum.kirupa.com/u/liscola)
#### Post date: [March 14, 2008, 12:01pm UTC](https://forum.kirupa.com/t/button-code-to-open-pdf-doc/254701/1 "2008-03-14T12:01:38Z")

</div>

does anyone know the code that allows you to open a PDF document (in Acrobat) from Flash? Is this even possible? Basically, i have 3 PDF docs that need to be launched from a 3 buttons in my swf.

I would be able to do it if they wanted to post the PDFs on a webpage, but they actually want to run the swf locally and have it link to documents on their hard drive.

Anyone? oh yeah… this project is due today 😉
