Showing posts with label Flash. Show all posts
Showing posts with label Flash. Show all posts

18 December 2006

Unobtrusive Flash Objects (UFO)

Unobtrusive Flash Objects (UFO) is a DOM script that embeds the Flash object and resolves the flash activation problem.
UFO is free and supports the W3C standards.

Example:

<html>
<head>
<script src="ufo.js" type="text/javascript"></script>
<script type="text/javascript">
var FO = { movie:"FlashMovie.swf", width:"200", height:"100",
majorversion:"6", build:"40" };
UFO.create(FO, "FlashLayer");
</script>
</head>
<body>
<div id="FlashLayer">
<p>Alternate Content


</div>
</body>
</html>

More information and dowload here.

How to place flash on back of HTML?

To place flash on back of HTML, set the flash container with z-index to -1:
<div id="flashContent" style="z-index:-1" ></div>

and set flash variable wmode to opaque.