Converting text to upper with Binding
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> import mx.binding.utils.*; import mx.events.FlexEvent; public function updateMyString(val:String):void { myTA.text = val.toUpperCase(); } public function mySetterBinding(event:FlexEvent):void { var watcherSetter:ChangeWatcher = BindingUtils.bindSetter(updateMyString, myTI, "text"); } </mx:Script> <mx:TextInput id="myTI" text="Hello Setter" /> <mx:TextArea id="myTA" initialize="mySetterBinding(event);" /> </mx:Application>