-
[AS3] Input TextFields
ok...I admit defeat...my first AS3 game for a client launches in under 24 hours and I will be damned if I can work out how to set the focus on a input Text field.
of course in AS 2.0 you would just use
Selection.setFocus(text_field)
Anyone know how to do the same in As 3.0?
Chris Error
ps. after all the things that I have worked out to do in AS3.0 I can't believe that I'm stuck on how to implement setting focus.
-
http://untoldentertainment.com/blog/...n-not-working/
http://livedocs.adobe.com/flex/201/l...age.html#focus
apperently setFocus is not anymore a function but instead a property. Also, you don't use the text name value of the field, but a reference to the actual field itself.
myObj.stage.focus = myTextField;
http://www.adobe.com/cfusion/webforu...&enterthread=y
hope that helps
-
thanks loads Render will try now
Chris