Flash & JavaScript variable in Mozilla/Netscape

Hi,

I have a Flash movie that grabs a variable value from JavaScript using SetVariable. It plays fine in IE, but not in Mozilla/Netscape. Can anyone help?
InspireGroupAsked:
Who is Participating?
 
sam85281Connect With a Mentor Commented:
Most likely, the problem is how you're accessing the movie via the javascript.

Try something like:

if (navigator.appName.indexOf("Microsoft Internet")!=-1) {
document.getElementById("MOVIE_ID").SetVariable("VARIABLE", "VALUE");
} else {
document.embeds["MOVIE_NAME"].SetVariable("VARIABLE", "VALUE");
}

-Sam
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.