In Flash you used to be able to make dynamic function calls,
meaning you could have a class that had a number of different
functions then make the call something to the affect of:
1. Declare events for each action that you want to do
2. Hook those events to corresponding functions using Event
3. Trigger events dynamically whenever you want corresponding
functions to execute.