Learn SWFObject Demos

Placing HTML elements over a Flash SWF

This example uses SWFObject's dynamic publishing. See this example's related article.

This is an example of a DOM element overlapping a Flash SWF.

This is a DIV. It uses absolute positioning without specifying z-index. Markup order is div then flash object.
Alt content if you don't have Flash
Alt content if you 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