A tiling editor that I've been struggling with

This IS the basic level editor and that’s the goal. I have a couple extra steps I need because of what the level editor is specifically for. My issue is translating it to a costume and back, and watch this space, I THINK I’ve got it… I think… (Famous last words)

Hmm. So I think I’ve made some progress, but not really. I’ve expanded the intial block I posted in my second post so it includes the raw tile information and the id data and the texture key.

Now I’m trying to draw that information and either getting all white squares, or a chequerboard white and pink pattern or ocassionally a random mishmash of colours…

I’m currently using the For Each command… or at least attempting to, but that doesn’t seem to be doing what I think it does?

What I want it to do is scan through each member of the list, scan for the property and replace and stamp that with the sprite of choice, but stamp isn’t what I’m after, but right now I just want to be able to draw the map from the data and stamp is currently the best choice, but getting nowhere. sigh