I\'ve been trying to set up this test page for my flash game but it refuses to gain focus on load. I read a bunch of forum entries and didn\'t get it to do anything, I can\'
I was desperately looking to get this work, just to speed up my own Flash game development to avoid having to click every single time to test my game. So I didn't care if it works in all browsers, so here's one that works only on Chrome.
If you've tried focus() before and it didn't work for you, note that you have to use just the embed tag, not the object and param version.
Tested on Chrome Version 40.0.2214.93 (64-bit).