Some of the ‘choiceText’ textfields bounce around in place. Why?
ansBacking.buttonMode = true;
ansBacking.label = xmlFile.questions.question[questIndex].answers.answer*.content;
ansBacking.addEventListener(MouseEvent.CLICK, handleChoice);
emptyContainer.addChild(ansBacking);
emptyContainer.setChildIndex(ansBacking,0);
if(xmlFile.questions.question[questIndex].answers.answer*.@correct == true)
{
correctAns = xmlFile.questions.question[questIndex].answers.answer*.content;
}
var choiceText:TextField = new TextField();
choiceText.defaultTextFormat=formatWhite;
choiceText.multiline=true;
choiceText.selectable=false;
choiceText.mouseEnabled = false;
choiceText.wordWrap=true;
choiceText.border=false;
choiceText.width=330;
choiceText.autoSize=TextFieldAutoSize.LEFT;
choiceText.text = xmlFile.questions.question[questIndex].answers.answer*.content;
//choiceText.y = ansBacking.y + (30 * (26/choiceText.height));
//choiceText.x = ansBacking.x + (ansBacking.width/2) - (choiceText.text.length * 3.3);
choiceText.x = ansBacking.x + 13;
choiceText.y = ansBacking.y + 9.2;
emptyContainer.addChild(choiceText);