[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
Anyone know how to do the same in As 3.0?
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.
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;
hope that helps
Last edited by renderhjs; 02-25-2008 at 04:16 PM.
thanks loads Render will try now
Click Here to Expand Forum to Full Width