Never mind.. :) maxChars appears to work for Numeric Stepper the same way it does for TextInput even though it's not in the documentation.
Ville -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ville Walveranta Sent: Friday, June 23, 2006 22:18 To: 'Flashcoders mailing list' Subject: [Flashcoders] Numeric Stepper - limiting field length? Does anyone here happen to know a way to limit the field length in the V2 numeric stepper component? In TextInput the same can be accomplished fairly easily as every keypress within it broadcasts a "change" event. Numeric stepper doesn't appear to do so; a change is broadcast only when the focus is lost, or when the up or down arrow is clicked. Nor are "keyUp" or "keyDown" events broadcast on every keypress. I'd like to limit keyboard entry to two characters. Validation will, of course, reset the value to the maximum allowed on loss of focus but for clarity's sake - especially since Numeric Stepper's display window is pretty small - it would be nice to prevent users from entering more digits than what can be displayed. Thanks! Ville _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com