Backspace key won't detect

If I put in some code like this…

this.onKeyDown = function():Void {
	 trace (Key.getCode());
}
Key.addListener(this);

…it doesn’t detect anything when I press the backspace key, or the enter key. What is wrong? How do I detect these???