Hello,
I have a photo gallery with a big picture to other small below. I wish that when you touch one of the small images, this appears in the big picture.
my code is as follows and it works properly.
photo:removeSelf()
photo = nil
photo = display.newImage( “product/or” … tostring(storyboard.state.idPhoto) … “_a.png”, 0,0 )
photo:addEventListener( “touch”, photo )
My problem is that: after having destroyed and re-created the image, I again added the event touch, but this does not work anymore
the event before changing the image works, after changing the image no longer works
how can I fix it?
I apologize for my English
thanks