menu 災害の̴女王dreamspace 🍍🕘🍏📵 🐊🐒💍🐠 📦😍📓📫

Standards Compliant Flash Embed

One of the bigger problems I’ve faced in doing standards compliant web development is embedding flash without breaking any of the W3C’s standards. But thanks to Drew McLellan over at A List Apart I was able to put together a standards-compliant flash embed template. (Read his article if you want the whole explanation, and such)

  data="this is the url to your flash document"
  id="give it an id"
  width="define your width"
  height="define your height">
    name="put param values"
    value="here" />
    src="one neat thing about the `object` tag is the fact that"
    alt="you can include alternate content for browsers that don't support flash." />

you can use any html you’d like as alternate content. isn’t standards compliance great! (i failed to mention earlier the object type tells the browser the type of content it’s dealing with application/x-shockwave-flash in the case of flash)