Arrays and Keypresses

Anybody know how to create and use arrays in flash? Im planning on making a game similar to Tetris.

Thanks

you can do it using the ascii values. look them up on a standard ascii chart. you will have to make sure they dont have caps lock on though