Movie: VW005 - Variable Scoping

Purpose: Understanding Variable Scoping in Flash

Timelines, scripts, functions, buttons and movieclips can all have variables.

The trick is to organize those variables so that the results are predictable.

This example produces the following rule:

Use _parent.textField and _parent.timelineVariable to read/write objects from button handlers.

Without that, only global variables have access.

This example works better when running directly out of the flash development environment,
because you can see the trace window.