# Call Javascript from Flash

**URL:** <https://forum.kirupa.com/t/call-javascript-from-flash/231918>\
**Category:** flash\
**Created:** [July 9, 2007, 4:02pm UTC](https://forum.kirupa.com/t/call-javascript-from-flash/231918 "2007-07-09T16:02:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mediumman](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mediumman/32/551_2.png) [@mediumman](https://forum.kirupa.com/u/mediumman)\
**Post date:** [July 9, 2007, 4:02pm UTC](https://forum.kirupa.com/t/call-javascript-from-flash/231918/1 "2007-07-09T16:02:40Z")

</div>

I have a javascript – navTo(url, [target]) – where url is the “URL” and target is the “Target” …

Within flash how do i use the getURL command within a button?

getURL(javascript:navTo???)

any help is appreciated…thanks
