[flexcoders] Regarding validations

2006-05-16 Thread naveen kumar



Hi every one

When we are using built in validation , if validation fails i want to 
change the color of the text , can any one help in this regard

Thanks in advance
naveen















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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











Re: [flexcoders] Regarding validations

2006-05-16 Thread Rishikesh Shetty



When we are using built in validation , if validation fails i want tochange the color of the text , can any one help in this regard
This is assuming that validator2.source is a TextInput. var resultEvent:ValidationResultEvent = validator2.validate();  if (resultEvent.type != ValidationResultEvent.VALID
)validator2.source.setStyle(color, 0xff);






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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.