Put the character in resource bundles?

On 7/27/10 12:21 PM, "Nick Middleweek" <[email protected]> wrote:






Hi,

I'm doing some custom bits on the Flex 3 NumericStepper and I need to prevent 
more than decimal point being entered into it's textField. Is there a way to 
detect the character used? e.g. Germany uses a comma...

Or should I do something like this... "How future proof, multi-lingo is that?"

var decimalCharacter : String = Math.PI.toString().substr( 1, 1 );


Thanks,
Nick






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to