Design Lab 5: Game Media   [ Monday 6pm - Rm 908]

instructor: Jonah Warren
email: jonah AT feedtank DOT com
url: http://www.playfulsystems.com/teaching/2006/gamemedia


Lab 2: Actionscript Basics Part II
(September 18th, 2006)

  1. In this lab, you will be making a simple data entry tool for entering names. Complete the following steps:
    • Create an input textbox that will allow users to enter a name.
    • Next to it, create a "submit" button.
    • When the user clicks on the submit button, put the name entered (if there is one) into an array, and let the user know that a name has been added.
    • Create a "display" button.
    • When the user clicks the display button, print out the entire array which should include all names that have been previously entered with the submit button.
    • Make it so that when you submit your own name, it prints out an additional welcome message.
    To complete this lab, you will need to use an array, a for loop and a conditional.

    You may either print statements to the output window using the trace command, or create an output textbox like the following clip. I'm looking for something like this:

  2. Create a Flash movie with a button. When the button is pressed, create a grid of movie clips using the attachMovie command. You must use a for loop.
  3. When you are done, post both FLAs and SWFs to your website.