Lab 2: Actionscript Basics Part II (September 18th, 2006)
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:
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.
When you are done, post both FLAs and SWFs to your website.