Hey All:
In building my apps, I’m faced with situations where I need to fire off multiple events sequentially with some delay in between, and the need to track when an events have completed. So far I’ve been using timer.performWithDelay for individual events, but I’m not sure how to use this in a situation that needs to manage 5 to 10 or more events.
For example, let’s say you want to display 5 animations sequentially. Start anim 1 (which runs 10 seconds), wait 2 seconds until anim 1 has completed, start anim 2 (which runs 5 seconds), wait until anim 2 has completed, start anim 3, etc. What is the best way in Corona to string together multiple events with delays in between?
Thanks for any suggestions. [import]uid: 6756 topic_id: 4679 reply_id: 304679[/import]