Learn SWFObject Demos

Placing HTML elements over a Flash SWF

This is an example of a DOM element overlapping a Flash SWF. See this example's related article.

This example uses SWFObject's static publishing.

This is a DIV. It uses absolute positioning without specifying z-index. Markup order is div then flash object.

Place fallback content here for users who don't have Flash

Place fallback content here for users who don't have Flash

This is a DIV. The markup is same as above, except order of elements is reversed (flash object then div); the results are the same, even without specifying a z-index.

This example is © Philip Hutchison. Licensed under an MIT-style license.

More examples can be found at https://pipwerks.github.io/learnswfobject