Flash anim не хочет показывать IE

#asp.net #flash #internet-explorer #animation

#asp.net #flash #internet-explorer #Анимация

Вопрос:

У меня есть flash-анимация на моем веб-сайте, во всех других браузерах, кроме IE, отображается.Заголовок имеет тот же размер, что и объект.

 <div id="header">
            <object style="width: 760px; height: 128px; margin-top: 3px" codebase="http://test.eu-seed.net/safenet/pict/banner3.1.swf">
                <param name="movie" value="http://test.eu-seed.net/safenet/pict/banner3.1.swf" />
                <embed src="http://test.eu-seed.net/safenet/pict/banner3.1.swf" quality="high" width="760"
                    height="128" name="myMovieName" type="application/x-shockwave-flash" pluginpage="http://www.macromedia.com/go/getflashplayer">
        </embed>
            </object>
        </div>
  

В чем может быть проблема??

Ответ №1:

вот правильный способ встраивания flash-фильма:

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>      
    </head>
    <body>      
        <div id="flashContent">
            <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="506" height="310" id="player" align="middle">
                <param name="movie" value="http://test.eu-seed.net/safenet/pict/banner3.1.swf" />
                <param name="bgcolor" value="#FFFFFF" />
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="player.swf" width="506" height="310">
                    <param name="movie" value="http://test.eu-seed.net/safenet/pict/banner3.1.swf" />
                    <param name="bgcolor" value="#FFFFFF" />
                <!--<![endif]-->
                    <a href="http://www.adobe.com/go/getflash">
                        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                    </a>
                <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </div>
    </body>
</html>
  

Я также рекомендую вам использовать SWFObject.