hello Rob,
i have a similar problem except that the replaced image can be anything dragged onto the original picture. to be precise, that’s a grid where you can drag and drop the neighbouring pix onto the target.
similar to candy crush.
So I want grid(row,col) to now be grid(row,col+1) and vice-versa.
I have a touch listener that figure out which neighbour is dragged onto.
i have removed both objects, set to nil, removed the listeners on both these objects and recreated them with the new image.
it works.
… except … if I try to move the same object again, the listener DOESNT GO THROUGH the began phase of the listener.
which makes my which_neighbour calculation wrong.
(I did put a return true at the end of my listener.)
Note, the first time around, it goes thru the began, moved,ended phases of the listener.
the second time it goes straight to moved and ended phases !
even if in between i did another move onto different things on the grid
so … my question … is that a simple way to change the picture associated with and object. is removing the object the right way to do it ?
also, having removed completely the listener, why is that still active ?
thank you very much