开发者

Embed Flash in IE not working

i created a small menu in开发者_StackOverflow中文版 flash that i want to embed into my website. The problem is it works in firefox but not in IE.

Could you help me please i am completely new to Flash

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
             codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="540" height="50">        
            <param name="main" value="/Flash/main.swf" />
            <param name="play" value="true"/>
            <param name="loop" value="true"/>
            <param name="scale" value="showall"/>
            <param name="wmode" value="window"/>
            <param name="menu" value="true"/>
            <param name="allowFullScreen" value="false"/>
            <param name="allowScriptAccess" value="sameDomain"/>
            <param name="quality" value="high" />        
            <embed height="50" width="540" 
              align="middle" 
              type="application/x-shockwave-flash" 
              salign="" 
              allowscriptaccess="sameDomain" 
              allowfullscreen="false" 
              menu="true" 
              name="main" 
              bgcolor="#ffffff" 
              devicefont="false" 
              wmode="window" 
              scale="showall" 
              loop="true" 
              play="true" 
              pluginspage="http://www.adobe.com/go/getflashplayer" quality="high" src="/Flash/main.swf"></embed>
        </object>      


I can't see what's wrong with your code.

Anyway I strongly suggest you use the swfobject script to embed your flash objects. This will solve the issue that flash objects have to be clicked on in IE before they are played.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜