/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* Use this function to be dispatch from an Event.CHANGE on a textfield */ private function _handleChangeText ($evt:Event):void { var $curInput:String = evt.target.text; evt.target.text = $curInput.toLocaleUpperCase(); }