On 24/09/2010 16:11, Glen Pike wrote:
Is this happening because you are using the CHANGE event - is that
firing when you change modify the character also?
Have you tried using the TextEvent.TEXT_INPUT event - this might work,
but I am not sure.
The only other suggestion may be out of place, but concerns
"usability" and might be redundant: Making a text field large enough
for the input data may be a way around this too - I know email
addresses can be ridiculously long, but I think I would be happier
with one that is long enough rather than having one the right width
just to please a graphic designer...
I finally sorted it.
TEXT_INPUT was no good - it only changed the text once another character
had been typed.
In the end I reverted to the CHANGE event but used replaceText() on the
field instead of replacing the text in the string by manipulating fld.text;
Thanks for everyone who suggested a fix.
Paul
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders