Static embed method (using option 1)
Basic example
Parameters test page
Streaming Flash content test page
Browser communication test page
Embedding multiple SWFs
DomLoad test page
Full browser Flash test page
SWFObject 2.1 removing statically embedded SWFs
Dynamic embed method (using option 2)
Basic example
Parameters test page
Streaming Flash content test page
Browser communication test page
Embedding multiple SWFs
DomLoad test page
Full browser Flash test page
Full browser Flash test page including min-width, min-height and scrollbars
Example of the different Object notation methods
(to define your flashvars, params and object's attributes)
Centered SWF (inline element)
Centered SWF (block element)
SWFObject 2.1 removing dynamically embedded SWFs
Other API methods:
swfobject.getFlashPlayerVersion()
swfobject.hasFlashPlayerVersion(versionStr)
swfobject.addLoadEvent(fn)
swfobject.addDomLoadEvent(fn)
swfobject.createSWF(attObj, parObj, el)
swfobject.createSWF and browser communication test page
swfobject.createCSS(selStr, declStr)
SWFObject getQueryParamValue example
SWFObject 2.1 bookmarklet example
SWFObject 2.1 create and remove SWF example
Source FLAs:
test6.fla
test6_streaming.fla
test6_flashvars.fla
test8_com.fla
test6A.fla
test6B.fla
test6C.fla