Se usar o SWFObject, provavelmente vai se livrar desse problema. É a maneira recomendada de inserir objetos Flash no HTML, e é necessária se quiser que o SWF e o JavaScript possam passar informação de um lado para outro. Tem um gerador de código embed no site do projeto.
<html>
<head>
<title>Usando SWFObject</title>
<style>
body {background-color:#c00;}
</style>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">
// Embed normal
var flashvars = {};
var params = {};
params.quality = "best";
params.wmode = "transparent";
var attributes = {};
swfobject.embedSWF("SEU-SWF.swf", "myAlternativeContent", "800", "600", "9.0.0", false, flashvars, params, attributes);
// Embed de YouTube
// https://developers.google.com/youtube/js_api_reference#Embedding
var yt_params = { allowScriptAccess: "always" };
var yt_atts = { id: "myytplayer" };
swfobject.embedSWF(
"http://www.youtube.com/v/aZMbTFNp4wI?enablejsapi=1&playerapiid=ytplayer&version=3",
"ytapiplayer",
"425",
"356",
"8",
null,
null,
yt_params,
yt_atts
);
</script>
</head>
<body>
<div id="myAlternativeContent">
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
</div>
<div id="ytapiplayer">
You need Flash player 8+ and JavaScript enabled to view this video.
</div>
</body>
</html>
JSFiddle