Follow up

I did not submit a bug report on this.

This is one of those ugly problems that seemed to 'fix itself', which
is most unsatisfying.  It could have been a number of things.  The
Java developer made some changes, including downgrading to Java 1.5
compatibility and fixing a Java problem which caused the screen to
stop responding to mouse events (but never to disappear). Java
developer said, "It was faulty use of the JRootPane's glass pane to
prevent user clicks when the frame is marked as busy or when dragging
is occurring." I made some small changes to the javascript, but
nothing that should have had an effect. And I went from Safari 5.0.2
to 5.0.3.

The end result is that this page and the applet now render correctly
for me.
http://www.dhba.com/wested/appletSwfObjectTest.html

If it does not render correctly for you, then the issue is most likely
related to the browser/platform.  If it does work for you, I would
compare the html/javascript first and then see if JRootPane offers any
clues.



On Feb 1, 8:11 am, nikey <[email protected]> wrote:
> 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.

Reply via email to