[resolved]Using arrays to make a map of images
I'm trying to make a game in Flash, and since users will be able to make their own levels in it, I thought I should make the levels of the game with actionscript. I think I approached it correctly by using arrays, but I'm having trouble turning that array into the map of the game. basically, I have one movie clip used as a base, with it's many frames being the different tiles. each entry in the multidimensional array is one character, and that character will tell what the tile (or the frame) should be.
but I'm having trouble actually creating the map. I'm trying to use "for" to make a loop that will add each tile to the map using addChild. But I haven't seen anything that could tell me how to use "addChild" to add multiple instances of the SAME movie clip. so all of the tiles have the same name and the same properties, which means they also have the same coordinates. :confused: So any help?