ABSTRACT

Events Programs are like recipes. They are essentially a list of instructions. ActionScript programs tell the Flash Player what to do and when to do it. In a recipe for scrambled eggs, there might be an instruction like:

When the eggs start to brown on the bottom, turn them over.

This instruction deals with a phase of the recipe that is guaranteed to happen. But unpredictable things can happen when making scrambled eggs. Recipes generally don’t address them, but if they did the instructions might look like: