Project C due:
Monday, Nov. 11
- Please upload your project to the WWW.
- Add a link to your class webpage: http://userpages.umbc.edu/~yourUserName/projectc.html
- Give me the .html, .swf, and .fla files used to make your project
Watch part of "The Human Face"
Wednesday
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) } } |
Ryan's " Build Your Own Brakhage "
Check out: QWERTY.fla
Tim Bubb's "super crazy awesome side-scrolling ninja ball Flash game of legend"
"Fun Game"
- Example #1
- Example #2
- Example #3
Play with sound on
Homework:
DOWNLOAD: "space_game.zip"