Creating a video player using the state design pattern and ActionScript 3.0

Learn about design patterns from this simple state machine that starts and stops a video, and then adapt it to run on Flash Media Server 2 by adding more states and player controls.