We have an animation loaded with events. In Corona, as soon as animation is called:
state:setAnimationByName(trackIndex, name, loop, 0)
Then all the events are printed at once within the state.onEvent function.
state.onEvent = function (trackIndex, event)
local dEvent = event.data.name
print("dEvent = ", dEvent)
end
So if you can imagine 5 events spaced about a couple of seconds apart. They all fire off to state.onEvent as soon as setAnimation is called. After that, they do perform as they should - printing dEvent as they occur on the timeline (looped).
Also the last event on the timeline never shows up in state.onEvent..