You can either have it focused, or create a fake client for the flash game that communicates with the game's server. If the game does not communicate with any server, then I can't think of any other way that it being focused.