HELP! Keyboard events being ignored

I’m trying to write a simple counter. UP or Space increments a number and DOWN decrements. It’s just one big number in the middle of the screen. A bell rings on an increment and I have added code to go full screen on mouse click.

Test mode works fine ( except for full screen of course).
Seems to work fine on the local machine using Safari 3.2.3
However if I try to run it locally using firefox it does not work.
I need it to run on a laptop but it does not always acknowledge the keyboard events and while in full screen it never responds to the keyboard events.
Laptop is running Safari 3.2.1

This seems so simple! I need this tomorrow as a counter on a stage!
Here is the the ActionScript 3 code:

import flash.display.StageDisplayState;
import flash.events.KeyboardEvent;
var chickCount = 0;
myTextBox.text = chickCount;
var boxBell:Sound = new Sound();
boxBell.load(new URLRequest(“boxing_bell.wav”));
var channel:SoundChannel = new SoundChannel();

stage.addEventListener(KeyboardEvent.KEY_UP, incrementCount);
stage.addEventListener(MouseEvent.CLICK, _handleClick);

function goFullScreen():void
{
if (stage.displayState == StageDisplayState.NORMAL) {
stage.displayState=StageDisplayState.FULL_SCREEN;
} else {
stage.displayState=StageDisplayState.NORMAL;
}
}

function _handleClick(event:MouseEvent):void
{
goFullScreen();
}

function incrementCount(evt:KeyboardEvent):void {
switch(evt.keyCode) {
case Keyboard.UP:
case Keyboard.SPACE:
chickCount++;
channel = boxBell.play();
myTextBox.text = chickCount;

		break;
	case Keyboard.DOWN:
		chickCount--;
		myTextBox.text = chickCount;
		break;
}

}