I have a problem with using JavaScript in Flash8.
<script language=“JavaScript”>
function launchwin()
{
newwin = window.open(“layout.html”,“portfolio”,“fullscreen=1, scrollbars=1”)
newwin.resizeBy(15,0)
}
</script>
layout.html is getting loaded in fullscreen which contains flash.
I have a close button in my layout, which I want, should close layout.html.
I put the following script to that button -
on (release)
{
getURL(“javascript:window.close(‘portfolio’)”);
};
But it doesnt seem to work somehow. Please Help.