I am trying to create a link in a Flash button (within an SWF Flash object) to a JavaScript window. I used the code below but it didn't work. For Flash I am using AS2.
The code I embedded in the Flash button is as follow:
on (release) {
getURL ("javascript: openWindow ('filex.htm','','scrollbars=yes,width=1100,height=910')")
}
Within the HTML's head tag:
<script language="JavaScript" type="text/JavaScript">
<!--
function openWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
I greatly appreciate your help!