well i’ll be honnest. cant figure what your problem is, but i hope this helps
var yPosition:Number = 0
for (var i = 0; i < len; i++) {
var mc = this.path.question_mc.attachMovie("choice_mc", "choice" + i + "_mc", i);
mc.choiceTxt.htmlText = this.questionArr[this.currentQues].choiceArr*;
//mc.choiceTxt.autoSize = "left"; // "left" interferes with calculations for button placement
mc.choiceTxt.autoSize = "true";
mc.indexNum = i;
mc._y = yPosition;
yPosition += mc._height + this.choiceBuffer;
}
you were not declaring the yPosition variable, probably why it traces NotANumber…
and in the end, i changed the yPosition to set his value with the hole mc, not just the text.