Hi guys,
I am creating an image using ‘display.newImage’. Later on, I would like to update this image.
I tried to pass the object (created by display.newImage) and call display.newImage again. The result is 2 images are created, and it is not updating the older image.
local imgTopBanner = display.newImageRect( "assets/banner\_1.png", 390, 100 ) imgTopBanner = display.newImageRect( "assets/banner\_2.png", 390, 100 )
Please advise a better way of doing this. I hope to use it during ‘network.download()’ in the future, where an image is downloaded from the internet and automatically updates the existing picture.
thanks