Archive for November, 2009

Flash ActionScript 3.0 – TextField buttonMode

Tuesday, November 17th, 2009

Normally you use Sprite.buttonMode = true. Mousing over a TextFields brings up a potentially annoying caret. To get the buttonMode working on a TextField, place the TextField into a Sprite and:

Sprite.buttonMode = true;
Sprite.mouseChildren = false;