How to center a movie using SWFObject

Hello, I am trying to center my movie vertically and horizontally using CSS. The html is already setup to use the SWFObject javascript, I just need help finding out how to center the movie. I am not very proficient with CSS, any help would be appreciated! Here is my html so far:

 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">
<!--
body {
 background-image: url(bg.jpg);
 background-repeat: repeat;
}
-->
</style></head>
<body>
<div id="flashcontent">
  This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
   var so = new SWFObject("main.swf", "main", "754", "466", "6", "#211714");
   so.addParam("scale", "noscale");
   so.addParam("menu", "false");
   so.write("flashcontent");
</script>
</body>
</html>