# \[flashmx2004\]getURL(javascript:function) -- HELP

**URL:** <https://forum.kirupa.com/t/flashmx2004-geturl-javascript-function-help/199575>\
**Category:** flash\
**Created:** [September 4, 2006, 6:22am UTC](https://forum.kirupa.com/t/flashmx2004-geturl-javascript-function-help/199575 "2006-09-04T06:22:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolokoy\_me](https://avatars.discourse-cdn.com/v4/letter/c/90ced4/32.png) [@coolokoy\_me](https://forum.kirupa.com/u/coolokoy_me)\
**Post date:** [September 4, 2006, 6:22am UTC](https://forum.kirupa.com/t/flashmx2004-geturl-javascript-function-help/199575/1 "2006-09-04T06:22:45Z")

</div>

i got problem with this code… how can i make it work…

what wrong with this code? the function is loading an iframe in the html page

```auto

getURL("JAVASCRIPT:loadintoIframe('ifrmContent', '../myIFrame.html')", "");

```

the javascript function is in the HTML page… when i click on the button inside the swf… nothings happen… it supposed to output the content of the myIFrame.html below the swf in the HTML page…

web content:

[script] - (folder - .js resides here)  
[flash] - (folder - .swf resides here)  
index.html  
pageoftheswf.html  
myIFrame.html

the .js already called in pageofswf.html so i think to problem about it…maybe…
