From: [EMAIL PROTECTED] Subject: Browser Crash Info All, After playing around integrating in JavaScript a RealPlayer plug-in and a Java applet I wrote, I think I've solved one of my persistent crashes while reloading the page or closing the browser window. At one time I was consistently able to crash the poor browser (both Netscape and IE). I was caching in JavaScript a reference to the RealPlayer plug-in. It appears that if the reference is invalid and I call a RealPlayer routine using the reference, fireworks ensue. After changing my JavaScript to always fetch a reference from document.embeds[], checking for a null value, and limiting the amount of work I do with the fetched value, my crashes have disappeared. There may still be a small window of vulnerability, but so far I have not hit it. Now, my applet can post position changes and JavaScript communicates the change to RealPlayer; and JavaScript periodically communicates position changes by the RealPlayer to my applet. Bonus, it works for both Netscape and IE, without any hackery. All is well with the world. Brad ******************************************************* 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]>
