Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   Общие вопросы о Flash (не затрагивающие ActionScript) (http://www.flasher.ru/forum/forumdisplay.php?f=60)
-   -   Div над флешкой? (http://www.flasher.ru/forum/showthread.php?t=132406)

forward 11.11.2009 13:21

Div над флешкой?
 
Флешка выводится вот так:
Код:

<script language="JavaScript" type="text/javascript">
<!--
if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
        alert("This page requires AC_RunActiveContent.js.");
} else {
        var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
        if(hasRightVersion) {  // if we've detected an acceptable version
                // embed the flash movie
                AC_FL_RunContent(
                        'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
                        'width', '100%',
                        'height', '800',
                        'src', 'videowhisper_conference',
                        'quality', 'high',
                        'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
                        'align', 'left',
                        'play', 'true',
                        'loop', 'true',
                        'scale', 'noscale',
                        'wmode', 'window',
                        'devicefont', 'false',
                        'id', 'videowhisper_conference',
                        'bgcolor', '#000000',
                        'name', 'videowhisper_conference',
                        'menu', 'true',
                        'allowScriptAccess','sameDomain',
                        'allowFullScreen','true',
                        'movie', 'videowhisper_conference',
                        'salign', 'lt'
                        ); //end AC code
        } else {  // flash is too old or we can't detect the plugin
                var alternateContent = 'Alternate HTML content should be placed here.'
                        + 'This content requires the Adobe Flash Player.'
                        + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
                document.write(alternateContent);  // insert non-flash content
        }
}
// -->
</script>

Вставляю Div над флешкой:
Код:

<style type="text/css">
<!--
#beg {
        position:absolute;
        left:732px;
        top:81px;
        width:193px;
        height:185px;
        z-index:9999;
        background-color:#FFFFFF;
}
-->
</style>
<div id="beg">Содержимое</div>

Но ничего не получается...:(

incoob 11.11.2009 19:01

поменяйте wmode на opaque или transparent

forward 11.11.2009 23:28

Спасибо ОГРОМНОЕ!


Часовой пояс GMT +4, время: 05:07.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.