The simple demo above shows the difference between what you can achieve using just the visual design tools in Flash (frame animation in the timeline) and what you can bring about with ActionScript. The motion of the red ball is entirely governed by keyframe animation. The blue object executes an ActionScript on every frame that determines its horizontal and vertical position and its rate of travel.
If you watch for a few seconds, you'll see that the path of the red ball is entirely predictable, while its counterpart is capable of surprises.
The source file for this demo is available in MMShare/timelineScriptDemo. Click on the blue "Scripting" symbol to view its script.
