# Vertically aligning text fields using AS

**URL:** <https://forum.kirupa.com/t/vertically-aligning-text-fields-using-as/220536>\
**Category:** flash\
**Created:** [March 27, 2007, 5:20am UTC](https://forum.kirupa.com/t/vertically-aligning-text-fields-using-as/220536 "2007-03-27T05:20:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vega](https://avatars.discourse-cdn.com/v4/letter/v/b19c9b/32.png) [@vega](https://forum.kirupa.com/u/vega)\
**Post date:** [March 27, 2007, 5:20am UTC](https://forum.kirupa.com/t/vertically-aligning-text-fields-using-as/220536/1 "2007-03-27T05:20:08Z")

</div>

I am trying to read data from a XML and then create a match-them kind of game where one set of choices are listed one on top of other and another set is on a row above them one after the other with the text aligned vertically. Umm something like this:

-|–[_] [_] [_]  
[_]  
[_]  
[_]

(All the boxes are movieclips containing some text)

I have the whole thing working out perfectly but the only problem is that I am not able to display the text vertically. I did some searching and turns out that Dynamic and Input Text boxes can not display vertically oriented texts. I thought about creating static textfields at run time but couldn’t find an option to vertically orient the text in the formatting options.

Oh and one more thing. I tried rotating the movieclips after the textfields have been created but as soon as the clips are rotated, the text disappears.

Can someone please help me out here.:crying::jail:

Thanks.
