Tag Archives: Align

Center/Align Vertically Text in a TextField Control

Depending whether you are using the classic TextField control and the TLFTextField newly introduced in Flash 10, you can choose one of the following options: public static function centerVerticallyTF(textField: TextField): void { // because we’re going to change the original position of the TextField // we want to make sure… Read more »