setFocus cant focus on browser

when i run my swf alone, the setFocus works fine but when it is loaded on a browser, unless u click on the swf the focus is not working. any ideas?:eye: