Setting focus to flash movie


For a project I am working on, I need the focus to be on a test field when the site loads. I can get the focus to be on the text field in the swf file, but how do I set focus to the swf file in the first place in the browser. Any Solutions?