Hi every one i have one simple textfiled with focusout event and button with click event.
Now when i entered some text in textinput and when clicks on button , according to me two events shoud be dispatched at a time ( plz correct me i am wrong ), one textfield focusout and second button clicks event. but for some reason it dispatches only one event i.e focus out ca any one tell to to resolve this problem i want to dispatch both events @ the same time here os code sapmle. Thanks In Advance Parkash ARjan.... <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" > <mx:Script> <![CDATA[ import mx.controls.Alert; public function buttonClicked():void { Alert.show('1'); } public function textInputFocusOut():void { Alert.show('2'); } ]]> </mx:Script> <mx:TextInput focusOut="{textInputFocusOut()}" /> <mx:Button click="{buttonClicked()}"/> </mx:Application>

