microsoft has a suit leveled against them making ie put a div block ontop of flash objects and you are required to click the transparent box to activate the interaction of the flash.
The flash will still run on its own but for the user to click it he has to click to activate it and he has to do it every time the page refreshes.
I have a simple workaround that you can easily modify to suit your need.
put your write in a js file function as so
and then in the page just put a call as soPHP Code:function activate(sName, sWidth, sHeight){
document.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" WIDTH="'+sWidth+'" HEIGHT="'+sHeight+'">');
document.write('<PARAM NAME="movie" VALUE="'+sName+'">');
document.write('<PARAM NAME="quality" VALUE="high"> ');
document.write('<PARAM NAME="menu" VALUE="false"> ');
document.write('<EMBED SRC="'+sName+'" menu="false" QUALITY="high" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" TYPE="application/x-shockwave-flash" WIDTH="'+sWidth+'" HEIGHT="'+sHeight+'"></EMBED>');
document.write('</OBJECT>');
}
This is currently an optional download in IE windows update but will be embeded in IE7PHP Code:<script>activate("flash/CharterServices.swf", 630, 305);</script>
Lorddog
here is an article on this http://www.internetnews.com/xSP/article.php/3568286








Bookmarks