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

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


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…