Change array text format
I'm making edits to a quiz that loads questions using an array. One of the edits involves adding a dark background that makes the questions difficult to read. I searched for ways to change text font, size, and color, but none of the tutorials worked. I'm guessing it's because none of the them demonstrated how to do it in an array. Here's what I've got so far:
public class QuizApp extends Sprite
{private var quizQuestions:Array;
private var currentQuestion:QuizQuestion;
private var currentIndex:int = 0;
private var prevButton:Button;
private var nextButton:Button;
private var finishButton:Button;
private var closeButton:Button;
private var score:int = 0;
private var status:TextField;
public function QuizApp():void
{
quizQuestions = new Array();
createQuestions();
createButtons();
createStatusBox();
addAllQuestions();
hideAllQuestions();
firstQuestion();
var QuizBGInstance:QuizBG = new QuizBG();
addChildAt(QuizBGInstance, 0);
}
private function createQuestions()
{quizQuestions.push(new QuizQuestion("Question",
2,
"Answer A",
"Answer B",
"Answer C"));
}
How would I go about changing the font, size, and color of the text?