var ti:TextInput = new TextInput();
ti.maxChars = 2;
ti.restrict = "A-Z";

<mx:TextInput maxChars="2" restrict="A-Z" />


Reply via email to