If you're using swfobject like myself, do like this:
...
<head>
<script src="js/swfobject.js" type="text/javascript"></script>
<script type="text/javascript">
var flashvars = {
};
var params = {
menu: "false",
scale: "noScale",
allowFullscreen: "true",
allowScriptAccess: "always",
bgcolor: "#000000"
};
var attributes = {
id:"flashObject"
};
swfobject.embedSWF("flashgame.swf", "flashAltContent", "800", "600", "10.0.0", "expressInstall.swf", flashvars, params, attributes);
</script>
</head>
<body bgcolor="#000000" onLoad="document.getElementById('flashObject').focus();">
...
If you're using the straight dope, do like this:
<body bgcolor="#000000" onLoad="document.getElementById('flashObject').focus();">
...
<object id="flashObject" width="800" height="600" type="application/x-shockwave-flash" data="flashgame.swf">
And you can start playing right away, without having to click on the game to start.
Regards!