I am using the flashObject to embed my flash, but the scaling is off now

I was using the publish setting of “no scale” and setting it to 100 percent. And it was giving my flash the desired effect…of extending the flash to the edge of the browser on the left and right side.

I got it from this tutorial.

http://www.kirupa.com/developer/mx2004/fullscreen.htm

But I have since had to switch the way I was embedding the flash to the flashobject so as to avoid the “click to activate” thing. And now, the full screen scaling thing, doesn’t work.

How can I modify my flashoject code (below) so that the flash will be centered, and so that the edges of the flash will extend full screen like it was before.

Thanks.

<script type=“text/javascript” src=“flashobject.js”></script>
<div id=“flashcontent” style=“width: 1100px; height: 700px”></div>
<script type=“text/javascript”>
var fo = new FlashObject(“myfile.swf”, “animationName”, “1100”, “700”, “8”, “#FFFFFF”);
fo.addParam(“allowScriptAccess”, “sameDomain”);
fo.addParam(“quality”, “high”);
fo.addParam(“scale”, “noscale”);
fo.addParam(“loop”, “false”);
fo.write(“flashcontent”);
</script>