Lab: SWFObject

Looking for a way to embed PDF files into your HTML documents? Try PDFObject!

SWFObject 2 Examples

SWFObject is a non-obtrusive method of embedding a Flash SWF onto a web page. It's standards-compliant, keeps your markup clean, uses simpler embed code than the traditional Adobe code, and bypasses the EOLAS "click to activate" issue in Internet Explorer. In short, it's very cool.

This page originally contained examples I created in response to postings at the old SWFObject forum, which supported SWFObject 1.5 and older. With the release of SWFObject 2.0, I've moved the old examples here and created a whole new set of SWFObject 2.x examples.

Important note: SWFObject 2.x uses completely different syntax than SWFObject 1.x; if you try using SWFObject 1.x code with the SWFObject 2.x JavaScript file, your scripts will fail.

The examples (and instructions!)