<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>TITLE</title>
<style type="text/css">
html, body {
height: 100%;
margin: 0;
padding: 0;
}
#flashTbl {
position: absolute;
width: 100%;
height: 100%;
border-collapse: collapse;
background: yellow;
z-index: 500;
}
#flashTbl td {
vertical-align: middle;
}
#flashTbl object {
display: block;
margin: 0 auto;
}
</style>
<script type="text/JavaScript">
function hideFlash() {
document.getElementById("flashTbl").style.display = "none";
}
</script>
</head>
<body>
<table id="flashTbl">
<tr>
<td>
<object type="application/x-shockwave-flash" data="dinFilm.swf"
width="450" height="150">
<param name="movie" value="dinFilm.swf">
</object>
</td>
</tr>
</table>
</body>
</html>
- og så kalder du bare funktionen 'hideFlash' indefra din swf, når filmen er slut :)