I have tried, splot:addEventListener(“end”,stopAnim) or splot:addEventListener(“splot”,stopAnim) or splot:addEventListener(“splash”,stopAnim)
and in the remove bit I have tried
local function stopAnim(event)
if event.phase == “end” then
splot:removeSelf()
splot = nil
end
end
and nothing works. No errors but no removing of the animations last frame from screen.
The event listener never fires at all and the help on that page is not very helpful to me at all. I use event listeners for all sorts but this is defeating me.
Cheers
Mike R [import]uid: 9950 topic_id: 6029 reply_id: 20679[/import]