As the title of this post says, I’m trying to have the swf name in the loadmovie line to be generated from a txt file…
The text file (named “swfvariable.txt”) goes as such:
variable=swfpick
And the script goes like this:
loadVarsText = new loadVars();
loadVarsText.load("swfvariable.txt");
name = this.variable;
picked = ("load_"+name+".swf");
loadMovie(picked, "_root.target");
When I create a dynamic text field with the var name “name” - the variable “swfpick” shows up in it. But no matter what, so far, all I’m getting is the movie trying to load in “load_.swf”
Any ideas?