Videos(Games) exported via flash cs3 dont work well

I made a game in flash CS3 and when i tested it it was working normal, like it should but when i exported it to desktop as *.swf file (i tried AS 2.0/AS 1.0 flash player versions from 5-9) and start the game it has lots of bugs in it like :it randomly returns to main menu, it shows game over screen even if nothing killed me, score is randomly reset.Nothing of this happens when i test it in Flash.Please help