AFAIK, not all browsers support giving focus to the SWF. Is your target
audience constrained to one of the browsers that support it?
I'm aware that at the moment I believe only IE and Firefox have the capability to give focus to the SWF. They are the browsers I am currently working to.
The first three examples all work in IE and Firefox. It is only the last example that doesn't seem to.
The issue is giving focus as I have achieved that. Its whether Embedded fonts and loading styles at runtime have an impact on giving focus to the SWF.
Using one method on its own work fine, its when you combine the two methods that it seems to fail.
I don't know of any reason why that would affect the scenario, unless it
changes the timing of when the JS code that tries to set focus is running.
Due to a site rearrange, the examples have been moved to the following locations:
Default Flex with Local Fonts - http://michaelhenley.info/examples/ApplicationFocus/example1/
Default Flex with Embedded Fonts - http://michaelhenley.info/examples/ApplicationFocus/example2/
Styled Flex with Local Fonts - http://michaelhenley.info/examples/ApplicationFocus/example3/
Style Flex with Embedded Fonts - http://michaelhenley.info/examples/ApplicationFocus/example4/