I am using swfobject embed swf method and all works well.
I have this in head:
var flashvars = {};
var params = {};
var attributes = {};
attributes.id = "flashPreview";
params.quality = "high";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.bgcolor = "#111";
params.devicefont = "false";
params.allowfullscreen = "true";
params.allowscriptaccess = "always";
swfobject.embedSWF("preview.swf", "flashPreview", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
I have a div in the body:
<div id="flashPreview">
<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>
I also have some functions in my flash and I use External Interface to communicate with jquery which works fine as well.
The problem comes when I take this div I used for embedding swf, and reparent that div to another element in the dom.
After that my flash methods I call from jquery are not recognized any more.