Forum Moderators: open
I hope I am being clear enough.
thanks in advance!
--este
The only way I know to create w3c compliant code that will also run in mozilla/safari/opera is to javascript in the <embed> tag using browser identification, like this:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" id="topflash">
<param name="movie" value="images/flash/your_file.swf" />
<param name="loop" value="false" />
<param name="menu" value="false" />
<param name="quality" value="best" />
<param name="bgcolor" value="#000000" />
<script type="text/javascript">embed_flash('','flash','your_file.swf','topflash');</script>
</object>
where embed_flash() is a function that writes the embed tag with javascript.