Doug creates a virtual-dice game to incorporate basic game behaviors using random chance into loops, and then shows how to use the break statement and the if statement.
Doug walks you through the ActionScript code to combine the timer with animation principles, creating timeline-free and random movement of graphical objects.