ActionScript 3.0 TextField Style and Event gotchas
Yesterday I ported some experimental syntax tree code I’d written in C# over to Flash and ActionScript. It’s a tribute of the richness of ActionScript 3.0 that such code could be ported so easily.
To test the code out I needed to be able to input text. No worries. Add a TextField.
It’d been a while since I’d done this in ActionScript, and I hit a couple of “noob” gotchas that can even get an old dog like this one. So in case you’ve hit the same problems, and are being misled by the documentation, here are a couple of pointers…
Read more…
Categories: Development, Flash, Games, Internet Tags: Actionscript 3.0, addEventListener, Adobe, best practice, Flash, Format, Gotcha, Style, Text, TextField