Hi,
I'm pretty new to Mozilla and was wondering about this Javascript function I'm
able utilize in I.E. I'm in the process of updating my website to be
cross-browser compatible, the following function does not work in Firefox, and
I was hoping someone could shed some light on "why?" If this topic is
redundant, my apologies.
Initialize the function:
<SCRIPT LANGUAGE=JavaScript>
function doPassVar(args){
var sendText = args.value;
var sendText = "1"
window.document.myFlash.SetVariable("myVar", sendText);
}
</SCRIPT>
Pass the function:
<body bgcolor="#999999" onload="doPassVar(sendText);">
Initialize the Flash object:
<tr>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=6,0,29,0" width="753" height="25" id="myFlash">
<param name="movie" value="../navigation/navBar_03.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<embed src="../navigation/navBar_03.swf" quality="high"
pluginspage="
http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="753" height="25" name="myFlash"
swLiveConnect="true"></embed></object>
</td>
</tr>
This works like a superstar in Internet Explorer, but not at all in Mozilla
Firefox. I'm sure it doesn't work in Netscape either, but I'm just starting to
tackle all this. Any help, direction, or links would be fab, not really sure
where to start with this.
Thanks,
~Chipley