...

View Full Version : Setting a textfiled focus when movie is loaded?



wonderblunder
02-09-2009, 11:01 PM
Hello Everyone,

I would like to be able to set focus on a text field when movie is loaded. So lets say if I have two fields:

First Name
Last Name

I would like FirstName_txt to get the focus when movie is loaded so user just can type without having to mouse click first. I have tried setFocus() method but not getting anywhere. Any suggestion, how can I go about get this functionality going?

Thanks a lot.

gnomeontherun
02-10-2009, 10:26 AM
Well ok, first you would have to make sure the focus is set to the flash window, and then set the flash window focus to the text field.

http://www.artifactinteractive.com.au/dev/focus.html



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum