Problem clearing Cell on a TiledLayer

Hi,

I've got a problem with a TiledLayer in that I when I set a cell to 0 to clear it nothing happens. It works fine when I set it to anything else so it's definitely not a problem with the layer not being drawn, but if I try and clear it the last specified tile is displayed.

I've checked whether the change was stored by calling getCell() for the cell in question and the 0 has been stored.

Is there anything that I'm missing or a specific reason why I might be having this problem?

Thanks in advance

Nick

[548 byte] By [Rivieraa] at [2007-11-27 5:25:42]
# 1

Just figured it out myself. Came from a lacking understanding how the whole frame buffer thing works. I've now figured out that it simply copies the buffered frame over the original one, so as an empty cell will be transparent on the buffered frame you can see the original frame in that place.

Rivieraa at 2007-7-12 14:45:58 > top of Java-index,Java Mobility Forums,Java ME Technologies...