Hi Rob: Thanks it works!
----------THERE IS ONE LITTLE PROBLEM------------
function scene:enterScene( event )
local group = self.view
local littleBees = display.newImage (“littleBees.png”)
littleBees.x = 28
littleBees.y = 30
littleBees:scale (.5, .5)
transition.to(littleBees, {x=167, y=37, time=6000})
group:insert( littleBees )
end
I change the bees to enterScene and when I come back to the scene, it plays the transition FINE,
but the little bees are still there when I come back, now I have a DUPLICATE IMAGE of each bee on the enterScene.
I try this on the exitScene - — I was just trying to use logic
function scene:exitScene( event )
local group = self.view
if littleBees then
littleBees:removeSelf()
littleBees = nil
end
end
-------------------------- but that did not work. it seems to work only on BUTTONS, I don’t know why.
So how do I remove the little bees from that scene?
So when I come back to the same scene it will play the animation normally?
Thank you
Victor