I am trying to write a script in flash that takes variables ( a list of movies that I wish to be played ) and loads them into the movie.
I don't have much code written for this but here is what I have in the first and only frame:
loadVariablesNum("variables.txt", 0); loadMovie(var1, 0);
in the variables.txt file I have this:
I don't get an error when I run the file but I also don't get my movie clip to play either. Also, I tried to use "trace var1;" just to see if my variable is being correctly set, and it returns a syntax error.
I tried substituting the var1 in the actionscript with the actual movie name and the clip plays.