[SWFObject] Is this code wrong?

"Jan Kratochvíl, FlashMedia.cz" kratochvil at flashmedia.cz
Mon May 29 12:47:25 PDT 2006


I use this code:
*************************
<body>
<div id="flashcontent">
  <!--Html content here-->
  <div align="center"><img src="images/bazeny-septiky-nadrze-kameny.jpg" 
alt="bazény, septiky, jímky, odlučovače, kámen, kameny" width="570" 
height="235" border="0" />
    <table width="400" height="150" border="0" cellpadding="1" 
cellspacing="1">
      <tr bgcolor="#FFFFCA">
        <td width="77"><div align="center"><img 
src="images/homepage/bazeny-6.jpg" alt="bazény, plastové bazény, 
septiky, jímky, kameny" width="75" height="52" border="0" align="left" 
/></div></td>
      </tr>
    </table>
  </div>
</div>
 

<div>
<script type="text/javascript">
   var so = new SWFObject("bazeny-septiky-jimky-nadrze.swf", 
"bazeny-septiky-jimky-nadrze", "785", "400", "8", "#ffffff"); 
   so.write("flashcontent");
</script>
</div>
</body>

*************************
Question:
I want have Html content in <div id="flashcontent">
I dont understand this code: so.write("flashcontent");
How can I insert SWF on certain place of my page if I use <div 
id="flashcontent"> for HTML content?



More information about the Swfobject mailing list