TextInput control focusOut event : TextInput Focus « Components « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Components » TextInput FocusScreenshots 
TextInput control focusOut event
TextInput control focusOut event
         

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
  <mx:Script>
    
    import flash.events.Event;
    private function performValidation(eventObj:Event):void {
      zipV.source = eventObj.currentTarget;
      zipV.property = "text";
      zipV.validate();
    }
  </mx:Script>
  <mx:ZipCodeValidator id="zipV" triggerEvent="" />
  <mx:TextInput id="shippingZip" focusOut="performValidation(event);" />
</mx:Application>

   
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.Set focus for TextInputSet focus for TextInput
2.TextInput focus in and focus out eventsTextInput focus in and focus out events
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.