I've been working on this problem for about the past 3-5 hours strait, and nothing I'm doing is working or even remotely making sense.
I'm making a level editor for my game Valo (link in my sig), and I want it to have the ability to edit levels and test those levels.
The making and testing works fine, but if you should return to edit the level, the array reverts back to all zeros for some reason., I've tried "saving the arrays in another variable, but somehow, both revert to zero, it doesn't matter where it is, on a mc, on the main timeline, on an mc inside an mc...
I'm so distraught and confused!
From what I can tell, it reverts back to zero sometime after it is constructed in the testing "field", somewhere around the second frame timewise...
After five hours of trying to figure out this problem, I post this thread, take a break, and then it hits me. Of course. It always happens right after you ask for help...
But thanks so much everyone who did help, I did learn something to say the least.
My problem was that the tiles, when they were created, declared themselves to be zero and changed it to be so in myMap1. This was happening even before the loop that places the tile could change their frame. So, I just delayed that action a couple of frames.
But thanks again to everyone who helped and especially to those who attempted to wade through my messy messy coding.