Wait for Listener \ User Response

Hi All,

I’ve set-up my button/image listeners and they are tested and working.

However, my app is iterative and a functions call themselves recursively (level by level) but the program flow races through to the next function when I want to wait for the user’s response (i.e. for them to select a button/listener).

How can I code a ‘wait for user’s response’ function?

Thank you,
Paul [import]uid: 26027 topic_id: 9774 reply_id: 309774[/import]

Paul…just don’t call a function until the user does what you need them to do…I don’t really understand your question…the entire notion of “listener” is that it waits and listen’s for something (eg user-touch), and if you have your buttons doing this already as you say, then you have your answer…please express your question differently so we can help [import]uid: 6175 topic_id: 9774 reply_id: 35625[/import]