This code is different than flash provides and it is fully valid XHTML
<object type="application/x-shockwave-flash" data="file-name.swf" width="0" height="0">
<param name="movie" value="file-name.swf" />
<param name="quality" value="high"/>
</object>