[flashpro] scaling flash to 100% of html table

Varun Shetty varun.shetty at mphasis.com
Tue Jan 4 10:59:17 EST 2005


Hi, 

How can I put a flash with 100% height and width in a table that is also
set to 100% height by 100% width. 

well I tried this code

<body bgcolor="#878fa5" topmargin="0" leftmargin="0" scroll="no">
<table width="100%" height="100%" border="0" cellpadding="0"
cellspacing="0">
  <tr>
    <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflas
h.cab#version=6,0,29,0" width="100%" height="100%">
		<param name="movie" value="nameofflash.swf" />
		<param name="quality" value="high" />
		<param name="allowScriptAccess" value="sameDomain" />
		<param name="menu" value="false" />
		<param name="bgcolor" value="#878fa5" />
      <embed src="nameofflash.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="100%" height="100%"></embed>
    </object></td>
  </tr>
</table>

With table property width="100%" height="100%"
And flash property width="100%" height="100%"

But it doesn't seem to work 

Any suggestions on how I can make this work..? 

Regards,
VARUN SHETTY  


More information about the FlashPro mailing list