The code which is generated by macromedia dreamweaver for flash doesn’t validate in w3c in xhtml DTD.
It throws error that embed is not a valid tag.blah blah…… Its better to use object which is a valid xhtml tag
Also it doesnt work in Firefox ,opera and netscape.After searching a lot on google basically from www.alistapart.com i found a way to work on flash code which works on all browsers.
This is done by this following code.
<!–[if IE]><object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″
codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0″ width=”100″ height=”120″>
<param name=”movie”
value=’some.swf’>
<![endif]x–>
<!–[if !IE]> <–>
<object type=”application/x-shockwave-flash” data=”some.swf” width=”100″ height=”120″ >
<!–> <![endif]–>
<param name=”movie” value=”some.swf” />
<param name=”quality” value=”high” />
</object>
enjoy…….this code works on all browsers.