From: Michael Litzkow <[EMAIL PROTECTED]>
Subject: Re: Direct Connection Between Applet and RealPlayer
[EMAIL PROTECTED] wrote:
> Well you may want to do what you describe.. but
> the netscape.javascript.JSObject DOES work on
> both IE and NS.
Yup, LiveConnect (JSObject) works on both NS and IE. What I said was that
ActiveX controls can't be cast as a JSObject, not that IE doesn't support
LiveConnect.
> I would point out that in Brad's example, the JSObject was working
> fine until it attempted to get the object representing another applet,
> at which point it gave a security warning. But it worked fine till that
> point, and it seems a portable way to callback to javascript.
That's right, except the object was apparently the Real Player ActiveX
control, not an applet.
> Does anyone know for sure that IE4 supports JSObject, please
> no speculation.. if you know it works, it would be great to know
> though.
Yes, it does - no speculation.
> (although I would probably not test the limits of the HTML document model
> from inside a Java program..)
I would. It works quite fine in IE4. You can access all the collections,
retrieve properties, call methods, etc. I've been doing DHTML stuff from
an applet. It's cool - no JavaScript. I can access files on my server,
have a full featured object oriented language, get syntax checking from
my compiler, etc.
> If anyone knows about cross platform Java and native methods
> on PC's and Mac's I would be interested in talking!!!
I haven't tried this on a Mac yet. However, I have a Mac on order, and will
be trying it...
cheers,
-- mike
*******************************************************
The RealForum is an email discussion group focused on using RealNetworks
products. The RealForum is a place to post messages about the best methods
for creating content using RealNetworks technologies and the planning and
implementation of streaming-media web sites. Archives of RealForum can
be found at http://realforum.real.com
If you ever want to remove yourself from this mailing list,
you can send mail to <[EMAIL PROTECTED]> with the following
command in the body of your email message:
unsubscribe realforum
or from another account, besides the address you subscribed with:
unsubscribe realforum <[EMAIL PROTECTED]>