I have one dinamic text (named moviename) the needs to read a value from the text.
I load the text file using :
loadVariablesNum ("movies.txt", 0);
this work fine, the dinamic text on the screen shows the right value from the txt file
the problem is , in the following line I need to use the text value to open a movie clip, using something like :
loadMovie(moviename, 0);
it doesn't work.
even if I use trace(moviename) it doesn't display the text field value, but only the text field name
I've tried to access the text value using :
trace(moviename);
trace(moviename.value);
trace(moviename.String);
and doesn't work;
Somebody knows a way to read the value of a dinamic text field ?
Thank you very much for the help
Ivelton
I load the text file using :
loadVariablesNum ("movies.txt", 0);
this work fine, the dinamic text on the screen shows the right value from the txt file
the problem is , in the following line I need to use the text value to open a movie clip, using something like :
loadMovie(moviename, 0);
it doesn't work.
even if I use trace(moviename) it doesn't display the text field value, but only the text field name
I've tried to access the text value using :
trace(moviename);
trace(moviename.value);
trace(moviename.String);
and doesn't work;
Somebody knows a way to read the value of a dinamic text field ?
Thank you very much for the help
Ivelton