Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set a vriable for the flash movie with javascript

Status
Not open for further replies.

ptitbob

Technical User
Oct 17, 2000
8
FR
how can i use the instruction SetVariable(name, value) to change the value of a variable (in my flash movie) by clicking on a classic (a href..) link external from the flash movie .
I have tried the following instructions as behaviour on my link (same document as the flash movie).
//testhtml is the name of my movie, toto is the name of the variable

movie=window.document.testhtml;
movie.SetVariable("toto","1");

But is just doesn't work.
Thanks for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top