webwalker
03-08-2001, 11:31 AM
I am having some problems with my Javascript sending a value to my flash movie. It's working great in IE but not at all in any version of netscape. You can see what's happening with it at http://www.cylabs.com/new_site
The javascript basicaly tells a text variable (labeled number1) in my movie what it should contain. the text variable then tells the movie to goto and stop on that frame. This keeps the movie synced up with the lower frame html page. I'm sure that the problem is that I'm sure that the issue is that I am not forming my javascript correctly for Netscape but I have tried 3 different methods, all of which work in IE and none work in Netscape. Thanks in advance for the help.
The code is as follows:
head=
<script language = "javascript">
<!--
function UpdateFlashNav(input)
{
parent.frames("top").document.movie.SetVariable("number1", input);
}
//-->
</script>
body=
<body onload="UpdateFlashNav('1')" bgcolor= "#FFFFFF" MARGINHEIGHT="0" TOPMARGIN="0" MARGINWIDTH="0" LEFTMARGIN="0" >
[Edited by webwalker on 03-08-2001 at 07:36 PM]
The javascript basicaly tells a text variable (labeled number1) in my movie what it should contain. the text variable then tells the movie to goto and stop on that frame. This keeps the movie synced up with the lower frame html page. I'm sure that the problem is that I'm sure that the issue is that I am not forming my javascript correctly for Netscape but I have tried 3 different methods, all of which work in IE and none work in Netscape. Thanks in advance for the help.
The code is as follows:
head=
<script language = "javascript">
<!--
function UpdateFlashNav(input)
{
parent.frames("top").document.movie.SetVariable("number1", input);
}
//-->
</script>
body=
<body onload="UpdateFlashNav('1')" bgcolor= "#FFFFFF" MARGINHEIGHT="0" TOPMARGIN="0" MARGINWIDTH="0" LEFTMARGIN="0" >
[Edited by webwalker on 03-08-2001 at 07:36 PM]