I’m looking for a way to quickly manipulate multiple vairables with similar names in a loop without using an array.
by this i mean i have the somthing like the following
tile00.y = ypos;
tile01.y = ypos;
tile02.y = ypos;
instead of typing tile00 tile01 etc. I want to be able to type tileX and X is filled in with a string or int. I cannot think of a way to do this with out storing all the variables in an array and then accessing them. While this method would work, the use of an array here prevents other portions of my program from working.
So is there a string concat style of some sort that AS3 has to offer? Or will i just have to find another work around.