Thanks Aran, but I've tried your suggestion. I was aware that the div was written over and have tried a wrapper div but I get the same behaviour. It's definitely swfobject that's doing this. In IE7 it shows the Iframe but not the container div so I don't get the anchor link(s) below the Iframe - their z-index is set lower than the flash movie yet the iframe z-index is set higher than the movie. In Firefox the same occurs momentarily but then the z-index of the iframe is reset and the whole lot disappears below the movie. I'm kind of scratching my head here, so when I've got a bit more time I'm going to have a closer look at the swfobject src. I'd prefer to use swfobject 2 because it is more elegant/standards compliant/recent etc but I'm going to have to use 1.5 for the moment. I also had the ie not going full screen problem until I found your discussion about it and set the allowscriptaccess param to 'sameDomain' instead of 'true' (as problematically generated by swfgenerator).
Thanks. On Nov 17, 10:45 pm, "Aran Rhee" <[EMAIL PROTECTED]> wrote: > So there is a difference between 1.5 and 2.0 in that 2.0 replaces the entire > DIV element you specify in embedSWF() etc. This means that you might need to > create a wrapper DIV to do what you want: > > e.g. > > <div id="wrapper"> > <div id="flashcontent"> > Alt content > </div> > </div> > > This way you can style / position the wrapper <div>, as after replacement, > what you really get is: > > <div id="wrapper"> > <object id="flashcontent" ... (other flash params specified > here)...></object> > > </div> > > Aran > > > > -----Original Message----- > From: swfobject@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of millerthegorilla > Sent: Tuesday, 18 November 2008 1:16 AM > To: SWFObject > Subject: SWFAddress 2.1 and SWFObject 2 > > Hi - I have been working on an swfaddress enabled movie with embedded > with SWFobject 2. > > I have a hidden div with a google maps Iframe in it. > > When I click on an html link in the movie a javscript function is > called which makes the iframe div visible using either > element.style.visibility = 'visible' or element.style.display = > 'block'; > > With swfobject 1.5 this worked fine, but with swfobject 2 the > following occurs: > > in ie7 the iframe appears but not the container div > in firefox the iframe and div appear for a few milliseconds and then > disappear. > > If I hide the movie the iframe and its container div are displayed, so > I thought it might be a zindex problem so I set the zindexes of the > movie and the iframe container div but the same thing happened. > > I've studied the swfobject2 source but can't see anything that might > cause this. > > Any help greatly appreciated.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to swfobject@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---