My main is calling many components.  The focusOut that I'm trying to 
trigger is inside those components.  in the following example the 
focusOut didn't triggered.

main.mxml
<mx:Application>
...
<mx:Panel id="myPanel">
   <EEfrm:myComp id="SiteBatimentFrm"/>
</mx:Panel>

myComp.mxml
<mx:VBox focusOut="saveInfo()">
   <mx:Script>
    ....function saveInfo():{
           someAction.....
        }
   </mx:Script>
  <mx:TextInput id="myText" />
</mx:VBox>




--- In [email protected], "JesterXL" <[EMAIL PROTECTED]> wrote:
> Why didn't focusOut work?
> 
> ----- Original Message ----- 
> From: "Ghislain Simard" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Saturday, July 23, 2005 4:27 PM
> Subject: [flexcoders] opposite of initialize
> 
> 
> Is there an attributes which could trigger a function when the 
user is 
> leaving a panel...doesn't matter where he is clicking?
> Something opposite to initialize
> 
> I've tried without success unload, childDestroyed, focusOut.
> 
> Thanks
> 
> 
> 
> 
> --
> 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





--
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