<script type="text/javascript" src="swfobject/swfobject.js"></script>
<script type="text/javascript">
//<![CDATA[
function hide() {
document.getElementById("overlay").style.display = "none";
}
function show() {
document.getElementById("overlay").style.display = "block";
swfobject.embedSWF("helpdeskApp_three.swf", "overlay", "800", "500", "9.0.0", "expressInstall.swf");
}
//]]>
</script>
Basically Im trying to place the flash movie inside the overlay id tag that is shown when the user clicks.
Nothing shows up though, so Im not sure how to implement the swfobject properly.
Ah I got the solution. I just had to create another div tag within the overlay.