You just need to add your wmode value to the !IE code block.

When using static publishing, you have to define all flashvars, params, and
attributes twice. For this reason, I recommend people use the SWFObject code
geneator (link in the wiki) as it will ensure your code is correct.

Once that is in place, you can either use the inline order of elements to
determine you z-indexing, or specify then explicitly.


Cheers,
Aran

On Wed, Aug 19, 2009 at 2:49 PM, dunco <[email protected]> wrote:

>
> Hi,
>
> Having trouble with transparency of menu's over the top of flash using
> SWFObject, works okay for IE but not for Firefox. I understand I could
> use the embed tag, but this would invalidate my page. Is there another
> work around, like absolute positioning the flash and than giving it a
> z index (I did a search on topics but could not find anything that
> answered this - my apologies if this has already been covered
> somewhere)?
>
> Have used the following in the head region
> ---------------------
>        <script type="text/javascript" src="js/swfobject.js"></script>
>                <script type="text/javascript">
>                swfobject.registerObject("myId", "9.0.0", "files/flash/
> expressInstall.swf");
>                </script>
> -------------------
> ..and the follwoing in the body of page:
>
>                <div>
>                        <object id="myId" classid="clsid:D27CDB6E-
> AE6D-11cf-96B8-444553540000" width="747" height="151">
>                        <param name="movie"
> value="files/flash/aboutUsBanner.swf" />
>                        <param name="FlashVars" value="mymoviesource=
> http://ftv01cms/
> GHD_Global" />
>                        <param name="allowScriptAccess" value="sameDomain"
> />
>                        <param name="allowFullScreen" value="false" />
>                        <param name="wmode" value="transparent" />
>                        <!--[if !IE]>-->
>                                <object type="application/x-shockwave-flash"
> data="files/flash/
> aboutUsBanner.swf" width="747" height="151">
>                                <!--<![endif]-->
>                                <div>
>                                        <h1>This Content Requires Flash</h1>
>                                        <p><a href="
> http://www.adobe.com/go/getflashplayer";><img
> src="http://www.adobe.com/images/shared/download_buttons/
> get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
>                                </div>
>                                <!--[if !IE]>-->
>                                </object>
>                                <!--<![endif]-->
>                        </object>
> </div>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to