I cannot fin explanation why my overrride focus out function is not working.
I try text.replace(',','') but it doesn't work. Maybe because i am using the
latest SDK?
Any ideas?
Thanks
override protected function focusOutHandler(event:FocusEvent):void
{
//Check if the source is blank
if (event.target.text != ""){
_realValue =
Number(text.replace(',',''));
//Update component text value
}else{
//Update component text value
_realValue = 0;
}
super.text = formatDecimal(_realValue);
}
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/ADG-with-item-renderers-tp4626p4703.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.