I’m using the SWFObject method without any problems.
It’s easier and quicker than the old embed method.
It’s quite easy to get the SWF dimensions via PHP:
$swf = 'flash-xml-modx.swf'; $swfSize = getimagesize($swf); $swfWidth = $swfSize[0]; $swfHeight = $swfSize[1]; echo "$swf dimensions: width = $swfWidth | height = $swfHeight";
Maybe add that to the code somewhere and try it out...