FullScreen wont work

Hello,

I’m having a problem getting fullscreen to work. When I try to go fullscreen, I get the error #2152. Now, I read this is because the HTML has to say it is ok to go fullscreen, but as you can see in the posted code, all 3 places are set to ‘true’.

Here is the HTML made by CS3:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620" />
<title>Untitled-1</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
 if (AC_FL_RunContent == 0) {
  alert("This page requires AC_RunActiveContent.js.");
 } else {
  AC_FL_RunContent(
   'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
   'width', '100%',
   'height', '100%',
   'src', 'Untitled-1',
   'quality', 'high',
   'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
   'align', 'middle',
   'play', 'true',
   'loop', 'true',
   'scale', 'showall',
   'wmode', 'window',
   'devicefont', 'false',
   'id', 'Untitled-1',
   'bgcolor', '#ffffff',
   'name', 'Untitled-1',
   'menu', 'true',
   **'allowFullScreen', 'true',**
   'allowScriptAccess','sameDomain',
   'movie', 'Untitled-1',
   'salign', ''
   ); //end AC code
 }
</script>
<noscript>
 <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="Untitled-1" align="middle">
 <param name="allowScriptAccess" value="sameDomain" />
 **<param name="allowFullScreen" value="true" />**
 <param name="movie" value="Untitled-1.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="Untitled-1.swf" quality="high" bgcolor="#ffffff" width="100%" height="100%" name="Untitled-1" align="middle" allowScriptAccess="sameDomain" **allowFullScreen="true"** type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
 </object>
</noscript>
</body>
</html>
CODE]
 
Here is the AS3 code:
 

try {
stage.displayState=StageDisplayState.FULL_SCREEN;
txt.text = “OK”;
} catch (e:SecurityError) {
//if you don’t complete STEP TWO below, you will get this SecurityError
txt.text = e.message;
trace(“an error has occured. please modify the html file to allow fullscreen mode”);
}


 
any ideas?
 
take care,
lee