/    Sign up×
Community /Pin to ProfileBookmark

onmouseover/out function not working in IE :@

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);
}
}
}
[/CODE]

It’s called by:

[CODE]
onmouseover=”richMedia(true);” onmouseout=”richMedia(false);
[/CODE]

Any ideas? ?

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @KingScooty spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...