Urgent help needed,AS3

Hi all,
I stuck in a problem, when my project almost complete.

  1. My game is playing differently when i am debugging it & when am i testing the movie(ctrl+Enter), the difference is that in testing movie the keyboard keys(i hv called the keyboard event key up & key down ) are not working first time, when player loses the game fiirst time,key start to work properly

  2. It is working slowly, when i loaded its compiled swf with another swf but working fine when played individually, i hv specified the different stage.framerate for both swf in their corresponding class.

Plz help very urgent ,any idea/advice will be greatly appreciated