Getting Used to Event-Based Game Programming

I have worked with cycle-based game programming in the past (loops that update everything each loop), and have a few questions about making games with events.

If I want a function to continuously update, should I recursively make it call itself at the end of its execution? I am not sure if this is bad programming or will hang my program.

Thank you for the information and your time. [import]uid: 7581 topic_id: 6411 reply_id: 306411[/import]

look up the “enterFrame” event [import]uid: 12108 topic_id: 6411 reply_id: 22181[/import]

Alright, thank you. This is what I am looking for. [import]uid: 7581 topic_id: 6411 reply_id: 22183[/import]