mrcaraion Thu, 01 Oct 2009 09:27:03 -0700
var ti:TextInput = new TextInput(); ti.maxChars = 2; ti.restrict = "A-Z";
<mx:TextInput maxChars="2" restrict="A-Z" />