Posted By

horizens on 08/18/06


Tagged

javascript actionscript html swfObject


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vali29


swfObject in xhtml doc structure.


 / Published in: HTML
 

swfObject in XHTML doc structure.

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3.  
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6.  
  7. <title>untitled</title>
  8. <script type="text/javascript" src="swfobject.js"></script>
  9. </head>
  10.  
  11.  
  12.  
  13.  
  14. <div id="flashcontent">
  15. This text is replaced by the Flash movie.
  16. </div>
  17.  
  18. <script type="text/javascript">
  19. var so = new SWFObject("movie.swf", "mymovie", "200", "100", "8", "#FFFFFF");
  20. so.write("flashcontent");
  21.  
  22. </body>
  23. </html>

Report this snippet  

You need to login to post a comment.