So I have been working on a game for awhile and decided that it would be a good time to take a break from the hard coding and make a simple menu.
After making the menu I ran into a strange problem. When I click my ‘start game’ button my keyboard controls in game do not work until I click somewhere on the swf player again. After that everything works but I do not know what is causing the file to not take in the key events until I click on it again.
Has anyone else had this problem or know how to fix it?