# \[Flash 8 As 2.0\] Help with JavaScript link!

**URL:** <https://forum.kirupa.com/t/flash-8-as-2-0-help-with-javascript-link/258894>\
**Category:** flash\
**Created:** [April 29, 2008, 10:30am UTC](https://forum.kirupa.com/t/flash-8-as-2-0-help-with-javascript-link/258894 "2008-04-29T10:30:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eriklindahl](https://avatars.discourse-cdn.com/v4/letter/e/8e8cbc/32.png) [@eriklindahl](https://forum.kirupa.com/u/eriklindahl)\
**Post date:** [April 29, 2008, 10:30am UTC](https://forum.kirupa.com/t/flash-8-as-2-0-help-with-javascript-link/258894/1 "2008-04-29T10:30:56Z")

</div>

Hi, I’m trying to make a link from my flash .swf to call a JavaScript from the html document. It looks like this:

thumb2.onRelease = function() {  
getURL(“javascript:callArticle(‘[http://shop.examplelink.com/[mySessionID]/Grobstrickpullover--12378d1a30211.html](http://shop.examplelink.com/%5BmySessionID%5D/Grobstrickpullover--12378d1a30211.html)’);”);  
}

Does this looks correct? Are these ’ ’ symbols placed correct? The problem is that someone else is doing the connection to actually pick up the JavaScript callArticle function, so this code is all that I do.

Please help!
