-
Hi i have a big problem with the command Eval.
If i use Set variable: "word" = eval("word"&random)
The variable "word" is now a random word from a text file.
If i wright that word in a text box (name of text box = text) the movie should go on to the next frame. I use this script to do that
if (word eg text)
go to next frame
Help
-
You use: eval("word"&random)
"word" is considered a textstring, not a variable. Is this what you want.
The rest I'am not familiar with, sorry
Nick
-
Is Random a variable (i presume it is because you have not entered a numerical value to randomise after it) if it is you should not use this to name a variable because it is a Flash reserved word. Use ran or something like that. You must also have variables;
word1, word2, word3 etc. to reference with this evaluation...mgb