[Laszlo-dev] Imitating keystrokes in Flash and DHTML

J Crowley jcrowley at laszlosystems.com
Thu Aug 30 04:38:04 PDT 2007


Does anyone have a trick I can use to simulate a user typing into a  
text field in either Flash, DHTML or both?  I can't use setText(),  
because I'm testing inputtext constraints (maxlength, pattern) that  
are enforced at runtime.  (Or, more specifically put, typing into the  
field will constrain the field's length and which types of characters  
are allowed, but setting the text either by specifying in the text  
attribute or using setText() seems to bypass these limits.  Which is  
arguably more a feature than a bug, I think, ultimately.)

Thanks in advance for any advice and ideas.


More information about the Laszlo-dev mailing list