Solved

Flash & JavaScript variable in Mozilla/Netscape

Posted on 2006-07-17
3
229 Views
Last Modified: 2010-04-03
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?
0
Comment
Question by:InspireGroup
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 16

Accepted Solution

by:
sam85281 earned 500 total points
ID: 17131370
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

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question