http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001136.html This is a guide on how to use keycodes/what the keycodes are, for use implementing WASD.
Way too hard, but I like the idea. Maybe the squares could be bigger so it's harder to fall off, or there could be slight auto correction because its annoying when your almost on teh square but not quite and you lose for this. Also why isnt it jsut one key to switch between colours this way I'd make less mistakes.