I am trying to use a listener for indicating when a sound has finished playing and in the main process after I invoke the playsound and pass the listener I go into a loop waiting for a variable to be set by the listener. The loop locks up the simulator because the variable never gets set by the listener.
Does anyone know how to do this? Basically, go into a holding pattern waiting for a listener to be fired?
Does Corona even support something like this with listeners? [import]uid: 27017 topic_id: 1600 reply_id: 32903[/import]