See Case statement overview for more information about the case statement. The following are examples of movies that use the case statement. You can download copies of these movies from the links at the bottom of the page to see how the movies were made in Director. Zip code checking The case statement in this movie determines if the text in the zip code field makes a valid zip code. To operate the movie, enter text in the field and then click the arrow button.
Alerts indicate whether the text is a valid zip code.
This movie uses a case statement to display the type of member the pointer is over. To operate the movie, place your pointer over any of the four members to see their member type icon displayed. The case statement in this movie controls the ball's motion, based on messages sent by the control buttons. To change the ball's motion, click the buttons to make the ball change direction or stop. Inc. All rights reserved.