I have SWF that can change his size by resizing window, but when I put it in HTML this doesn't work. I was told there is a JS that must be typed in HTML tags.
<script type="text/javascript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
Use this in <head> tag. Also If u r using dreamweaver as editor then u can add this code to ur page by using command-> add/remove netscape resize fix option in top toolbar.