Here's an example using a div called flashcontent. The javascript goes after (outside the div).
For the parameters: 325.swf is the flash file. 325 is the name again. 676 and 375 are the width and height and 8 is the flash player version. #cccccc is the background color. Be sure to upload the javascript file to the directory that contains the movie.
The parameters are found in the <object> code in the flash html page when you publish the file.
<div id="flashContent">
</div>
<script type="text/javascript">
var fo = new FlashObject("325.swf", "325", "676", "375", "8", "#cccccc");
fo.addParam("quality", "high");
fo.addParam("menu", "false");
fo.addParam("bgcolor", "#466fa3");
fo.write("flashContent");
</script>