to restrict the number of characters in TextInput using flash actionscript

Posted by Vineela | Flash, as3, utils | Friday 26 December 2008 5:20 am
import fl.controls.TextInput;

var tI:TextInput = new TextInput();
tI.maxChars = 10;
tI.width = 200;
tI.move(10, 10);
addChild(tI);