I am having an issue where the focusOut on a text input will run the
function that I have assigned but will then return focus to the
calling text input.  The following code shows this occuring in a
simple example.  Just put your focus on the top text input and then
tab out.  You will see the alert and you can see the cursor in the 2nd
text input underneath the alert but, closing the alert then returns
the focus back to the top text input.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
<mx:Script>
        <![CDATA[
                private function doSomething():void{
                        mx.controls.Alert.show('t1 = ' + t1.text);
                }
        ]]>
</mx:Script>


<mx:TextInput id="t1" text="Hello" focusOut="doSomething()" />  
<mx:TextInput id="t2" />
</mx:Application>


Rich


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to