This is the first time I have tried to use the new window code in flash 8.
on (release) {
getURL ("javascript:fixedSize('pic1.htm','','width=660,height=500,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No')");
}
Code for HTML Page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>PIc1</title>
</head>
<body>
<script language="JavaScript" type="text/javascript">
<!--
window.focus();
function init()
{}
//-->
function closewindow()
{
window.name = "popup.asp";
window.close();
return false;
}
</script>
<table border=0 id="table1" height="20" width=50% align=center>
<tr>
<td colspan=50% align=center>
<a href = "" onclick ="return closewindow()"><b><font size="2" face="arial"> Close</font></b> </a>
</td>
</tr>
</table>
<table border=0 id="Table2" height="20" width=50% align=center>
<tr>
<td align=center>
<img src="Gallery/1.jpg">
</td>
</tr>
</table>
</body>
</html>
The problem is it does not seem to work… The paths are right and everything, but It just does not seem to open up a new window… What Am I doing wrong?