NonCommittingChange Event Sample
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> import flash.events.Event; private var eventObj:Event; [Bindable(event="triggerBinding")] [NonCommittingChangeEvent("change")] private var s:String; private function triggerBinding():void{ eventObj = new Event("triggerBinding"); dispatchEvent(eventObj); } </mx:Script> <mx:Panel title="NonCommittingChangeEvent Sample" width="500" height="90" layout="horizontal"> <mx:TextInput id="ti1" change="s=ti1.text" enter="triggerBinding()" /> <mx:TextInput id="ti2" text="{s}" /> </mx:Panel> </mx:Application>