Selection.setFocus(); problem

Can anyone help. In Flash 5 I have an input text box on my main timeline. I have a button on the main timeline also that on roll over I want the cursor to start flashing in the input box.

I have tried Selection.setFocus(q); either as q being a variable or an instance name, but no luck.

Can anyone help please!