Posted By

zensir on 09/01/06


Tagged

flash webstandards validation


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

jonhenshaw
dojob


Flash Satay: Embedding Flash While Supporting Standards


 / Published in: HTML
 

URL: http://www.alistapart.com/articles/flashsatay/

by Drew McLellan

I’ve worked with Flash for several years and have always been slightly dissatisfied with the markup needed to embed a movie in web pages. When I recently published a site in XHTML, my dissatisfaction with the markup grew as I realized that it simply wasn’t valid in this context and was bloating my pages to unacceptable levels. A leaner, standards-compliant method of embedding Flash movies was called for.

  1. <object type="application/x-shockwave-flash"
  2. data="movie.swf"
  3. width="500" height="500" >
  4. <param name="movie"
  5. value="c.swf?path=movie.swf" />
  6. <img src="noflash.gif"
  7. width="100" height="100" alt="Flash Plugin Required" />

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: dojob on September 2, 2006

works everywhere?

Posted By: bluesky on November 9, 2009

Hello, a few years later some one is reading your nice script, well... i did that too i have that script also but, if we use this script on XHTML without validation error, we can´t make ((( transparent ))) for our flash script on xhtml, do you maybe know how to do that?.... best regards.

Posted By: bluesky on November 9, 2009

Hello, a few years later some one is reading your nice script, well... i did that too i have that script also but, if we use this script on XHTML without validation error, we can´t make ((( transparent ))) for our flash script on xhtml, do you maybe know how to do that?.... best regards.

You need to login to post a comment.