3 Replies Latest reply: Mar 31, 2009 11:55 AM by andrewmcgibbon RSS

    JavaScript Menus Appear Behind Flash

    andrewmcgibbon Community Member
      I am creating a page with a flash file embedded below a navigation bar with drop-down menus. The nav bar was created in Fireworks and imported. The problem is that the drop downs are appearing BEHIND the embedded Flash file so you can't see them. I have been looking all over for a solution to this without much success. If anyone has any ideas I would be appreciative if you share them.

      Regards,
      Andy
        • 1. Re: JavaScript Menus Appear Behind Flash
          Newsgroup_User Community Member
          All Active content on a page will always rise to the top, so to speak,
          including Flash, certain form elements, Java applets, and Active X controls.
          This means that each of these will poke through layers. There is not a good
          cross-browser/platform reliable way to solve this issue, but if you can be
          confident in your visitors using IE 5+ or NN6+, then you can use the Flash
          wmode parameter (however, Safari does not support this properly!).

          PVII article:
          http://www.projectseven.com/support/answers.asp?id=127



          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          ==================


          "andrewmcgibbon" <webforumsuser@macromedia.com> wrote in message
          news:gqr9fs$ad0$1@forums.macromedia.com...
          >I am creating a page with a flash file embedded below a navigation bar with
          > drop-down menus. The nav bar was created in Fireworks and imported. The
          > problem is that the drop downs are appearing BEHIND the embedded Flash
          > file so
          > you can't see them. I have been looking all over for a solution to this
          > without much success. If anyone has any ideas I would be appreciative if
          > you
          > share them.
          >
          > Regards,
          > Andy
          >

          • 2. JavaScript Menus Appear Behind Flash
            jazzguy2 Community Member
            We are using a 3rd party app to create a flash slideshow. Here is the code used to display the Flash. I'm not certain how to add this solution given this code:

            <script type="text/javascript">
            var so = new SWFObject("slideshow.swf", "gallery", "587", "408", "6", "#000000");
            so.write("flashcontent");</script>
            • 3. Re: JavaScript Menus Appear Behind Flash
              andrewmcgibbon Community Member
              In this instance, the solution is this:

              <script type="text/javascript">
              var so = new SWFObject("slideshow.swf", "gallery", "785", "119", "6", "#000000");
              so.addParam("wmode", "transparent");
              so.write("flashcontent");
              </script>