Ahhhh!! I’ve spent a good few hours trying to figure out why this code wont work in IE. ?
It’s making use of the ExternalInterface from flash 8.0 which calls a function within the actionscript. It works perfectly in Firefox, but for some reason in IE it doesnt seem to go any further than the if(val) line ?
[CODE]
function richMedia(val) {
if (document.getElementById(“flashLeft”) && document.getElementById(“flashRight”)) {
if (val) {
document.getElementById(“flashLeft”).richMedia(1);
document.getElementById(“flashRight”).richMedia(1);
} else {
document.getElementById(“flashLeft”).richMedia(0);
document.getElementById(“flashRight”).richMedia(0);
}
}
}
It’s called by:
[CODE]
onmouseover=”richMedia(true);” onmouseout=”richMedia(false);
Any ideas? ?