I have the similar issue on Safari 5.0.3 where div overlapping swfObject causes applet disappear (white). Do you know if there is known bug in safari for that?
On Jan 14, 3:21 pm, dh_brown <[email protected]> wrote: > Actually, I misspoke. It is *only* when the divs are overlapping that > the rendering problem occurs. Two absolute positioned divs that are > not overlapping display correctly. > -dhb > > On Jan 14, 9:59 am, dh_brown <[email protected]> wrote: > > > > > Aran > > > Thanks for the confirmation. You are correct that this is not a > > swfObject problem. The error seems to lie with the rendering of the > > absolute positioned divs. If the divs are positioned static, both > > load correctly. Even if the absolute positioned divs are side-by-side > > (non-overlapping) or only slightly overlapping, the error occurs. For > > my application, I need the Java applet to appear to be embedded in the > > Flash, and I will sometimes need to expose active Flash content behind > > the applet by setting the applet visibility to hidden. So I don't > > think I can just cut up the Flash, but it is a good suggestion. > > > I will send a bug report toSafari. Thanks again for looking at this. > > > -Dave > > > On Jan 12, 7:48 pm, Aran Rhee <[email protected]> wrote: > > > > Hi Dave. > > > > I can replicate your issue, but I don't know why it is occurring (and I > > > don't think it is anything to do with SWFObject). Using wmode=opaque, you > > > can see that the swf is actually sitting behind the applet, but the applet > > > content disappears/turns white as you stated. My hypothesis is that if you > > > put in standard <object> + <embed> code for the Flash file, you would be > > > seeing exactly the same behavior. > > > > Have you done a quick test to check a few things which might causeSafari's > > > rendering to break? > > > > a) place a smaller Flash file on top of the applet > > > b) place them side by side > > > c)overlapthem only slightly > > > > In terms of what visually the Flash file needs to do, does it have to take > > > up all the screen area behind the Applet, or could the Flash content be > > > "around" the applet (ie file(s) on top / sides etc). Sounds a bit ugly, > > > but > > > I am jsut trying to think of worst case scenario workarounds... > > > > Aran > > > > On Wed, Jan 12, 2011 at 4:43 PM, dh_brown <[email protected]> wrote: > > > > In my application I have a Java applet and a swf which communicate via > > > > javascript. InSafari(5.0.2) under MacOSX (10.6.4) I have a problem > > > > that seems to be triggered by the embedSWF call. No other browser or > > > > OS exhibits this problem. > > > > > In a very simple example, I load the applet via an applet tag into an > > > > absolute positioneddiv. In the samediv, I put a button which calls > > > > the swf load function onClick > > > > > var params = {wmode: "opaque"}; > > > > function loadSwfObject() { > > > > swfobject.embedSWF("swfs/stoichiometry/doNothing.swf", > > > > "flashContent", "800", "600", "9", "" , {}, params); > > > > } > > > > > When the page loads, it correctly displays the placeholderdiv > > > > (flashContent) and the appletdiv(appletContainer) with the loaded > > > > applet and the "Load SWF" button. Now I click the "Load SWF" button. > > > > The SWF (static text only, no actionScript) loads correctly. The > > > > applet disappears, but the applet window (with white background) > > > > remains on top of the SWFdivand the "Load SWF" button is still > > > > visible, active, and on top of the SWFdiv, implying that thedivis > > > > still there (not hidden or behind the SWF). > > > > > I have tried with wmode set to opaque, transparent, and unspecified. > > > > > No other browser or OS exhibits this problem. > > > > > You can see the behavior and view the full source at > > > > >http://www.dhba.com/wested/appletSwfObjectTest.html > > > > > Any suggestions would greatly appreciated. > > > > > Regards, > > > > Dave > > > > > -- > > > > 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%2Bunsubscribe@googlegroups > > > > .com> > > > > . > > > > 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.
