Hi guys, Thanks for all your help, i didn't know of the issues with z-index and flash so that's something i'll definitely remember!
It wasn't quite as straight forward as suggested, but that was due to the previous developer and myself, so incase anyone else has the same issues, here's what i had to do: 1. upgrade to the SWFObject 2 code (whoops, the site i was modifying had an old version) 2. remove some of the older script attributes (e.g #FFFFFF for some reason it had a colour specified before and some other bits) 3. use the code as: http://pipwerks.com/swfobject/z-index/2.0/index.html describes for dynamic version 4. also used the css example, just incase i had errors in mine 5. leave in expressinstall.swf (The old code never had it so i took it out - when i put it back in all worked fine) All works fine now! so many, many thanks James On Feb 13, 9:11 am, Aran Rhee <[email protected]> wrote: > Just as a clarifying point - > > In order to get a swf to adhere to the browsers z-indexing, you must set the > wmode param to either "opaque" or "transparent". Opaque is the preferred > option as it does not suffer from the same performance hit or set of bugs > that transparent does. The only time you should ever set wmode to > transparent is when you MUST show content through the swf which is at a > higher layer. I personally avoid this if at all possible due to the various > problems this brings. > > (BTW - Philip mentions this in his tut) > > Cheers, > Aran > > On Sat, Feb 13, 2010 at 2:42 PM, Philip Hutchison <[email protected]>wrote: > > > z-index is actually NOT important -- Flash Player doesn't respect z-index > > when laying Flash content on the screen. what *does* matter is your > > "position:" css. the Flash element needs to be set to "position: relative" > > or "position: absolute" and have wmode set to opaque or transparent (opaque > > is the best option). > > > seehttp://pipwerks.com/swfobject/z-index/2.0/index.html > > > - philip > > > On Fri, Feb 12, 2010 at 7:37 PM, Nathan Mynarcik <[email protected]>wrote: > > >> Have you tried setting your wmode to transparent for your flash file? This > >> should allow the nav to be on top of the flash. > > >> Nathan Mynarcik > >> Interactive Web Developer > >> [email protected] > >> 254.749.2525 > >>www.mynarcik.com > > >> -----Original Message----- > >> From: James <[email protected]> > >> Date: Fri, 12 Feb 2010 16:09:53 > >> To: SWFObject<[email protected]> > >> Subject: SWFObject and Drop Down Menu Issue? > > >> Hi > > >> I have an issue where my drop down menu is going behind the flash > >> object, I have set what i consider to be standard z-index values and > >> it works fine in firefox and safari... the issue is with internet > >> explorer. > > >> I have even put another wrapper around the flash object with the > >> appropriate z-index but this still didn't fix the issue, if i remove > >> the SWFObject and just have the wrapper or original div it does work > >> and the menu goes over the area as it should do. Put the SWFObject > >> code back in and it drops behind again. > > >> So it appears that it's ignoring any z-index values, i was unsure > >> whether the script writes a z-index of 90000 or similar?? > > >> I'm guessing others would have had a similar issue, so any ideas guys? > > >> Thanks > > >> James > > >> -- > >> 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]<swfobject%[email protected]> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/swfobject?hl=en. > > >> -- > >> 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]<swfobject%[email protected]> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/swfobject?hl=en. > > > -- > > 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]<swfobject%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/swfobject?hl=en. -- 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.
