Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   Flex (http://www.flasher.ru/forum/forumdisplay.php?f=84)
-   -   Flex на переднем плане (http://www.flasher.ru/forum/showthread.php?t=133871)

locust19 15.12.2009 12:56

Flex на переднем плане
 
Как приложение убрать на задний план?
Флэшка перекрывает мне выподающее меню при выпадании. посмотрел вроде ничего не увидел

Код:

<script src="tmpl/statistics/flex/AC_OETags.js" language="javascript"></script>

<script language="JavaScript" type="text/javascript">
<!--
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 9;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 124;
// -----------------------------------------------------------------------------
// -->
</script>

<script language="JavaScript" type="text/javascript">

<!--
// Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)
var hasProductInstall = DetectFlashVer(6, 0, 65);

// Version check based upon the values defined in globals
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

if ( hasProductInstall && !hasRequestedVersion ) {
        // DO NOT MODIFY THE FOLLOWING FOUR LINES
        // Location visited after installation is complete if installation is required
        var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
        var MMredirectURL = window.location;
    document.title = document.title.slice(0, 47) + " - Flash Player Installation";
    var MMdoctitle = document.title;

        AC_FL_RunContent(
                "src", "playerProductInstall",
                "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
                "width", "100%",
                "height", "100%",
                "align", "middle",
                "id", "test3",
                "quality", "high",
                "bgcolor", "#cccccc",
                "name", "test3",
                "allowScriptAccess","sameDomain",
                "type", "application/x-shockwave-flash",
                "pluginspage", "http://www.adobe.com/go/getflashplayer"
        );
} else if (hasRequestedVersion) {
        // if we've detected an acceptable version
        // embed the Flash Content SWF when all tests are passed
        AC_FL_RunContent(
                        "src", "tmpl/statistics/flex/test3",
                        "flashVars", "statisticMa=EWDZ@OC]1EW@@EPAI3DTDZ@X]A0D\\",
                        "width", "800",
                        "height", "700",
                        "align", "middle",
                        "id", "test3",
                        "quality", "high",
                        "bgcolor", "#cccccc",
                        "name", "test3",
                        "allowScriptAccess","sameDomain",
                        "type", "application/x-shockwave-flash",
                        "pluginspage", "http://www.adobe.com/go/getflashplayer"
        );
  } 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.adobe.com/go/getflash/>Get Flash</a>';
    document.write(alternateContent);  // insert non-flash content
  }
// -->
</script>
<noscript>
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                        id="test3" width="100%" height="100%"
                        codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
                        <param name="movie" value="tmpl/statistics/flex/test3.swf" />
                        <param name="quality" value="high" />
                        <param name="bgcolor" value="#869ca7" />
                        <param name="allowScriptAccess" value="sameDomain" />
                        <embed src="tmpl/statistics/flex/test3.swf quality="high" bgcolor="#869ca7"
                                width="100%" height="100%" name="test3" align="middle"
                                play="true"
                                loop="false"
                                quality="high"
                                allowScriptAccess="sameDomain"
                                type="application/x-shockwave-flash"
                                pluginspage="http://www.adobe.com/go/getflashplayer">
                        </embed>
        </object>
</noscript>


CblP 15.12.2009 16:34

это по моему через html решается, всунь флешку в див и поставь ему z-index , по моему как-то так

locust19 16.12.2009 19:33

это чтото не то ) Никто не знает?

etc 16.12.2009 20:05

wmode.

locust19 16.12.2009 20:20

не работает к сожелению.. все параметры передаются странным образом через ява скрипт, я также с передаче в flex мучался (объект не передает, а в javascript)

etc 16.12.2009 20:21

У всех работает, а у вас нет. Мистика.

locust19 16.12.2009 20:24

да так не работает
Код:

...
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"id="test3" width="100%" height="100%"codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
<param name="wmode" value="transparent" />
...


а в скрипте запросто
Код:

                <script language="JavaScript" type="text/javascript">
...       
                        "wmode", "transparent"
...

СПАСИБО

Добавлено через 5 минут


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

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