# Changing value of FlashVar with JScript

**URL:** <https://forum.kirupa.com/t/changing-value-of-flashvar-with-jscript/170437>\
**Category:** flash\
**Created:** [November 26, 2005, 1:42am UTC](https://forum.kirupa.com/t/changing-value-of-flashvar-with-jscript/170437 "2005-11-26T01:42:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ferrer](https://avatars.discourse-cdn.com/v4/letter/f/c68b51/32.png) [@ferrer](https://forum.kirupa.com/u/ferrer)\
**Post date:** [November 26, 2005, 1:42am UTC](https://forum.kirupa.com/t/changing-value-of-flashvar-with-jscript/170437/1 "2005-11-26T01:42:59Z")

</div>

Hi all,

I am a basic flash user, and I have created a flash movie that uses a flashvar in its embed and as a param in its html code that tells it what to do…

\<param name=“flashvars” value=“blahblah” /\>  
\<embed src=“n.swf” flashvars=“blahblah” Great, it loads the flashvars when the movie loads.

What I want to do now, is to have a JavaScript in the html page that would have the effect of changing the flashvars in the movie.

So for example, a drop down list that lets me select any number of vars and refresh the flash movie to show them. If i need to reload the movie, so be it. Can anyone help?

T
