Wednesday, May 11, 2011

Flash with gif stub

To make the flash banner with gif stub you can use the code, provided here:

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


Things to notice:
  • do not use <embed> within <object> or you'll get both flash and image displayed. Do not use <embed> at all - it is old tag from netscape
  • change classid and codebase to type and data
The final markup will look like:
<object type="application/x-shockwave-flash" data="c.swf?path=movie.swf" width="400" height="300">
  <param name="movie" value="c.swf?path=movie.swf" />
  <img src="noflash.gif" width="200" height="100" alt="" />
</object>

No comments :

Post a Comment