Resizing flash banner to 100% in a browser

Hi guys…for the past week i have been working on this issue but couldnt find a way out of it…what i am looking for is i want a flash banner to appear on my website…the website is 100% so i want the flash banner also be to be scaled to 100%…the published html file could be resized…i copied the code generated in the HTML file…and copied the object tag and pasted inside a table…when i do this…the flash wont load when i preview it in the internet explorer…i tried using the code below…and i was able to sort out this issue…but when i add 100 % table in the HTML file…the flash resizes itself into a small banner…can someone pls help me with this…

thanks in advance

<object data="main.swf" type="application/x-shockwave-flash" name="main" width="100%" height="100%" id="flash">
<param name="movie" value="banner.swf">
<param name="scale" value="noscale">
<param name="menu" value="false">
<param name="quality" value="high">
<h3>No flash plugin</h3>
<br>Please install <a href="http://www.macromedia.com/go/getflashplayer" target="_blank">FLASH plugin</a>.
</object>