Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Selection setfocus

Status
Not open for further replies.

jefargrafx

Instructor
May 24, 2001
273
US
I have a texfield in side a movie clip using MX.

_root.myMC.textfield

the textfield is input with a objectname of texfield

I want to set the focus to this field when the movie loads in the browser and can do this by

Selection.setfocus(_root.myMC.textfield);

and sure enough the cursor move to that field when the movie loads.

however (here's the problem)

you would think you could just start typing and enter text into the field, however this is not true, you must click (select) the field before keyboard input is recognized.

anyone know why?

jef
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top