Hard to word this problem as a short title, but i have array referring problems
Ok, so I got this:
var bm:Bitmap = new Bitmap(backgroundBlocks[row0 - 1]);
backgroundBlocks is an array, so is row0. I'm trying to make row0 into a this["row"+rowNumber], with a so I can navigate within it.
I fail in everything I've tried. Only way I can make this work is if I make 10 rows of "var bm:Bitmap = new Bitmap(backgroundBlocks[row0 - 1]);" with "row0", "row1", "row2" etc, but that's just lame, so there must be a way where I can change the number outside so whenever I call that line it uses the row number specified.
Any ideas?