flash - HTML swf container resize -


i have kinda simple flash file. 1 layer. first 50 frames have img file has 300px height. @ 51 frame load image same width 150px height.

i have code

<!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">     <head>         <title>masterhead</title>         <meta http-equiv="content-type" content="text/html; charset=utf-8" />         <style type="text/css" media="screen">         html, body { height:100%; background-color: #ffffff;}         body { margin:0; padding:0; overflow:hidden; }         #flashcontent { width:100%; height:100%; }         </style>     </head>     <body>         <div id="flashcontent">             <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="980" height="235" id="masterhead" align="middle">                 <param name="movie" value="masterhead.swf" />                 <param name="quality" value="high" />                 <param name="bgcolor" value="#ffffff" />                 <param name="play" value="true" />                 <param name="loop" value="true" />                 <param name="wmode" value="window" />                 <param name="scale" value="showall" />                 <param name="menu" value="true" />                 <param name="devicefont" value="false" />                 <param name="salign" value="" />                 <param name="allowscriptaccess" value="samedomain" />                 <!--[if !ie]>-->                 <object type="application/x-shockwave-flash" data="masterhead.swf" width="980" height="235">                     <param name="movie" value="eradio_masterhead.swf" />                     <param name="quality" value="high" />                     <param name="bgcolor" value="#ffffff" />                     <param name="play" value="true" />                     <param name="loop" value="true" />                     <param name="wmode" value="window" />                     <param name="scale" value="showall" />                     <param name="menu" value="true" />                     <param name="devicefont" value="false" />                     <param name="salign" value="" />                     <param name="allowscriptaccess" value="samedomain" />                 <!--<![endif]-->                     <a href="http://www.adobe.com/go/getflash">                         <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="get adobe flash player" />                     </a>                 <!--[if !ie]>-->                 </object>                 <!--<![endif]-->             </object>         </div>         <div>         <br> text </br>         </div>     </body> </html> 

problem swf container doesn't resize @ frame 51.

how ccan that;

thank you

simply ** flash cant**

the swf file container pre compiled file, not resize properties of file declared when compiled , in parameters tags.

html divs css not resize swf page separate , has no interactivity flash content displayed.

im not sure if possible javascript during runtime, question....