I know, this is an old topic... but I have the same problem now for some reason. Anything made in Game Maker, when closed, will make my screen flash. It wasn't like this when I first got my computer, and I don't know what caused it to start happening. Oddly enough, I can make it happen at will with this code:
It seems to me that Game Maker is issuing a command to reset the screen resolution back to default, even though it was never changed.
The screen shouldn't flash when this happens, but Game Maker also shouldn't be issuing unnecessary commands like this.
If this is a bug, it first showed up in version 6. Version 5 doesn't flash the screen.
Edited by Big J, 20 May 2012 - 09:44 AM.