giovedì, ottobre 09, 2008

AS3: Setting the Focus on an Input Field:

Many of my blog entries are just notes to things I had to look up. Like this: how does one set the focus to an input field in ActionScript 3? Thanks to a blurb on Flashcrobat (great title), here is the answer:

myObj.stage.focus = myTextField;

More