**
  Capturing keyboard input ** 
  
| function reportKeyDown(event:KeyboardEvent):void{ trace("Key Pressed: " + String.fromCharCode(event.charCode) + " (character code: " + event.charCode + ")"); } stage.addEventListener(KeyboardEvent.KEY_DOWN, reportKeyDown);  | 
  
| stop(); //on frame #1 //This code will gotoAndStop on frame 2 when you hit the enter key: stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); function keyDownHandler(event : KeyboardEvent) : void{ if (event.keyCode == Keyboard.ENTER){ gotoAndStop(2) } }  | 
  
"Fun Game"
- Example #1
- Example #2
- Example #3
- Example #4
 
HOME WORK
  
  DOWNLOAD: "space_game.zip"
  1) Come up with a new idea
2) Change the overall design (the background & all the Movie Clip symbols)
3) Change the sound effects
4) Upload it to a server (w/ the new .mp3 files)
5) Add a link to your 382, class webpage
Finished game due: April 22
** in 2 WEEKS **