Search code examples
phpjavascriptflashflash-cs4

JavaScript and Flash incompatibility with IE


I have a JavaScript Picture gallery. The arrows under the gallery make possible to move through all pictures of the gallery. When I have added to that page also a .SWF flash animation the gallery arrows stoped working properly in IE. But in other browsers like Mozilla, Google Chrome, Opera and so on it works! I have removed the .SWF and it is working in IE as well.

Here is the code where I have instantiated the .SW:

<embed src="ads/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="770" height="180" style="margin:0px; padding:0px; border:0px hidden; outline:0px; overflow:hidden; background-color:#c2c6c9;"></embed>

Please help me to understand at this time what's wrong with IE. :)


Solution

  • IE doesn't support <embed>; it hasn't since IE 5.5. See KB303401.

    Some discussion of Flash embedding strategies.