Is there anyway to give Flash focus in the browser without requiring the user to click it?

I have a flash (flex) web application, and when it first loads cursors, it blinks in the username field. However, you cannot start typing because Flash has no focus. You must first click on the flash application. Anyway, to focus on the focus on the download? Would it be in html or flash?

Thanks.

+3
source share
3 answers

You must use Javascript. Here is the official guide: http://kb2.adobe.com/cps/155/tn_15586.html

+1
source

The Zilupe-related method described in the note only applies to Windows IE, perhaps not good enough.

I have not tried this myself, and for the comments on the page it seems unreliable, but check it out: Focus Focus and actual links .

This is a very nasty problem that effectively kills any accessibility efforts that you might add to your Flash application. Blind users using browsers other than IE will NOT be able to use your application because they simply cannot click on it to give it focus.

The last time I researched the problem, I found a comment from some FF developer, stating that it was actually a Mozilla error (sorry, lost the link), but to be honest, I don't care. Adobe should pursue Mozilla and make some effort to fix it, this is about Adobe's interest.

+1
source

Check out SWFObject. For security reasons, FLASH is never autofocus - otherwise theft of keyboard input would be quick.

0
source

All Articles