Vertically centering dynamic text

Hey there!

I have a dynamic text field that is pulling random quotes from a text field. They are populating over a graphic of a customized playing card. Everything works fine, and the text horizontally centers fine… but it vertically centers to the top of the text box I have drawn.

Is there a way to make the textvertically align in the center? I am just learning actionscript… or re-learing it rather.

Here is the code I am using for the random text:


ranQuote = new LoadVars();
ranQuote.onLoad = function(success) {

if (success) {

RanNum = Math.ceil(Math.random()*24);
ran = this["quote"+RanNum];
quote_txt.text = ran;

}
else {

quote_txt.text = "The text failed to load due to an error";

}

}
ranQuote.load("questions.txt");

What is the code to align the text vertically? Also, would I put the code in the code above or would I put it elsewhere? Where would I put it?

Thanks!