# Help to call external javascript in a pdf doc

**URL:** <https://forum.kirupa.com/t/help-to-call-external-javascript-in-a-pdf-doc/31578>\
**Category:** Uncategorized\
**Created:** [September 24, 2003, 3:16pm UTC](https://forum.kirupa.com/t/help-to-call-external-javascript-in-a-pdf-doc/31578 "2003-09-24T15:16:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Melissa\_Anne](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@Melissa\_Anne](https://forum.kirupa.com/u/Melissa_Anne)\
**Post date:** [September 24, 2003, 3:16pm UTC](https://forum.kirupa.com/t/help-to-call-external-javascript-in-a-pdf-doc/31578/1 "2003-09-24T15:16:20Z")

</div>

Can someone help me with the following?  
My problem:  
I have a button that has to open a pdf doc. (in acrobat and not in a explorer window).  
I know that in Acrobat I can have a document level javascript…  
but how do I call this javascript from flash?
