In my application I have a Java applet and a swf which communicate via
javascript.  In Safari (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 positioned div.  In the same div, 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 placeholder div
(flashContent) and the applet div (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 SWF div and the "Load SWF" button is still
visible, active, and on top of the SWF div, implying that the div is
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].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to