Dynamic variable

Hi, found this a bit hard to forumlate, hence the difficulties googling for help which is my normal way to go…
anyway, I got a loop by using “for” and it creates a bunch of TextInputs, and I want each of them to have a seperate variable attatched to their Text value.
Now this doesnt work, but maybe someone will understand what I want to do.


ok the variables are setup with a number on the end, and I want to use another variable (j) to represent that number, so on every loop it will put the next variable in there… ex:
_root.variable3 etc

Anyone know how to do this?