Key object and HTML

I am new to the Key object and am unsure why my game doesnt recognize the keyboard when I view it in a browser. Alone, the swf works fine but apparently I am missing something.

Can anyone help?