PDA

View Full Version : autofocus????



emeX
July 16th, 2003, 04:01 PM
Is there an autofocus for a input text field box..like when u load the swf its already focused???

Also is there like a autoscroll like when a Dynamic text Field gets too full it just shifts down???

thnx

rolando.lopez
July 16th, 2003, 04:33 PM
You can use this code in the first frame of your movie

Selection.setFocus(name of text box);

For example if I have a text box on the root time line named theField I would use this code

Selection.setFocus(_root.theField);

Hope that helps!

kode
July 16th, 2003, 04:47 PM
As for you second question... this thread should help, I think. =)

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=21077