PDA

View Full Version : flash/javascript/netscape 6.1


luistoro
05-15-2002, 03:44 PM
I am working on a questionnaire that resides in a frameset. The top is for navigation, bottom for content. The top frame uses flash and communicates back and forth thorugh Javascript to move to a diffrent frame once the submit button on the content frame is pressed. I'm using the GotoFrame() method to move to a different frame. It works just peachy in IE 5.5+ and Netscape 4.77, but Netscape 6.1 tells me that GotoFrame() is not a function.

Here is some of the code:


var embNav = parent.flashFrame.document.flashNav;

embNav.GotoFrame(1);


HELP!:confused:

Jesse
05-16-2002, 11:45 AM
When NS 6.1 came out we had people complaining that their JavaScript Flash interaction was failing left right and center. To this day I aint heard anything definative, but lots of speculation that NS6.x just can't handle it...

luistoro
05-16-2002, 02:19 PM
This is what I got yesterday as reply from were-here.

NS 6.x uses different (and much better) LiveConnect approach. But the plugin for it still uses the old way, and that's why it don't work. MM didn't change JS object module since Flash 4 version, while NS 6.x didn't exist yet, and I'm just wandering when they will do that...

To communicate with Flash and JS in NS 6.x is not hard, but the plugin needs to be changed, so MM's lazy programmers should consider that in near future

And untill then, you can use workaround using Java applet to communicate with JS (through new LiveConnect interface), then Java will communicate with some socket server, where Flash will be connected, too, and on that way you'll make 2 direction communication... Only way for now that can work on browsers that can't communicate with the plugin directly for now... Although this requires Flash 5 or MX to work...