I'm not new to loadVariables, and I can load &variable values from a text file into a dynamic text box, BUT how do I trace the value and/or use it later on in the script?
I've got a dynamic text box called answerChoice, connected to variable &numberofanswers. It populates with a value of 4 from the txt file just fine, but why can't I do any of the following?
I've got a dynamic text box called answerChoice, connected to variable &numberofanswers. It populates with a value of 4 from the txt file just fine, but why can't I do any of the following?
Code:
//simple trace on the var
trace(numberofanswers);
//assigning the text value to a var
answerCh = answerChoice.text;
trace(answerCh);
//putting the value of numberofanswers into another var
crap="";
crap = numberofanswers;
trace(crap);