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.



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to