I’m having a hard time managing all my events and callbacks. The problem is that in order for my flash app to proceed from a dispatched event, it must wait for all the other events to have been dispatched. I’m accomplishing this right now by storing bools for each dispatched event. On the callback from each fired event, I check if all bools are set true. Only when they are all true, do I allow my flash app to proceed.
This just seems really hacky! Is there a better way?