My swf behaves odd in any browser

hi, i made a game in flash as3 and it runs good when i test it in flash itself.
but when i open it in any browser (i tried firefox safari opera camino) it does not behave as it should. my intro screen shows up correctly and if i press space to continue to the next screen it goes haywire… half of the mousebuttons keep working. other half doesn’t. and my arrow key presses are not recognized… lots of problems.

does anyone know how i approach this problem?
i normally use trace() to test my game in flash. but now i need something else, since traces don’t work in browsers…

please, can anybody give me any advice?