TextField Event.CHANGE – doesn’t mean what you think it means

 May, 23 - 2009   no comments   Uncategorized

This is foremost a note-to-self. That enticing entry in the ActionScript API for TextField events that looks like you ought to be able to detect changes to the text or htmlText property? That’s not how it works. It’s for TextFieldType.INPUT fields only. As the user makes changes, the event will fire, but for everything else, you’re on your own. I keep managing to forget this and architecting things inappropriately as a result.

Related articles

Leave a Reply

Your email address will not be published. Fields with * are mandatory.